staging: wilc1000: change data type of result in handle_get_ip_address
This patch changes data type of result variable from s32 to int. result is used to get return value from wilc_send_config_pkt that has return type of 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
8f9d9e0041
commit
cdc339a29f
|
@ -376,7 +376,7 @@ static void handle_set_ip_address(struct wilc_vif *vif, u8 *ip_addr, u8 idx)
|
||||||
|
|
||||||
static void handle_get_ip_address(struct wilc_vif *vif, u8 idx)
|
static void handle_get_ip_address(struct wilc_vif *vif, u8 idx)
|
||||||
{
|
{
|
||||||
s32 result = 0;
|
int result = 0;
|
||||||
struct wid wid;
|
struct wid wid;
|
||||||
|
|
||||||
wid.id = (u16)WID_IP_ADDRESS;
|
wid.id = (u16)WID_IP_ADDRESS;
|
||||||
|
|
Loading…
Reference in a new issue