Commit 7f0ee9a6 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress

This patch renames pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
to get_mac_addr to avoid CamelCase naming convention.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 090dbb10
...@@ -496,14 +496,14 @@ static s32 Handle_SetMacAddress(struct host_if_drv *hif_drv, ...@@ -496,14 +496,14 @@ static s32 Handle_SetMacAddress(struct host_if_drv *hif_drv,
} }
static s32 Handle_GetMacAddress(struct host_if_drv *hif_drv, static s32 Handle_GetMacAddress(struct host_if_drv *hif_drv,
struct get_mac_addr *pstrHostIfGetMacAddress) struct get_mac_addr *get_mac_addr)
{ {
s32 result = 0; s32 result = 0;
struct wid wid; struct wid wid;
wid.id = (u16)WID_MAC_ADDR; wid.id = (u16)WID_MAC_ADDR;
wid.type = WID_STR; wid.type = WID_STR;
wid.val = pstrHostIfGetMacAddress->mac_addr; wid.val = get_mac_addr->mac_addr;
wid.size = ETH_ALEN; wid.size = ETH_ALEN;
result = send_config_pkt(GET_CFG, &wid, 1, result = send_config_pkt(GET_CFG, &wid, 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment