staging: wilc1000: change data type of result variable to int.
result variable gets value from wilc_send_config_pkt that has return value of int. This patch changes data type of result variable to int. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c43f5f9dc4
commit
987ab5eb5f
@ -302,7 +302,7 @@ static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx)
|
|||||||
static void handle_set_channel(struct wilc_vif *vif,
|
static void handle_set_channel(struct wilc_vif *vif,
|
||||||
struct channel_attr *hif_set_ch)
|
struct channel_attr *hif_set_ch)
|
||||||
{
|
{
|
||||||
s32 result = 0;
|
int result = 0;
|
||||||
struct wid wid;
|
struct wid wid;
|
||||||
|
|
||||||
wid.id = (u16)WID_CURRENT_CHANNEL;
|
wid.id = (u16)WID_CURRENT_CHANNEL;
|
||||||
|
Loading…
Reference in New Issue
Block a user