Commit 7584019e authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: set_channel: fix data type of s32Error



This patch changes data type of s32Error variable from s32 to int
because return type of this function is int.

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9a459831
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ static int set_channel(struct wiphy *wiphy,
{
	u32 channelnum = 0;
	struct wilc_priv *priv;
	s32 s32Error = 0;
	int s32Error = 0;

	priv = wiphy_priv(wiphy);