staging: wilc1000: rename gau8MulticastMacAddrList variable
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:09 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames gau8MulticastMacAddrList variable to multicast_mac_addr_list
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/linux_wlan.c

index 8494a032eb72266c63763115eb5096f73ba20a96..d0e4039e6ed1a318d9034ecaaf944032efb852d4 100644 (file)
@@ -243,7 +243,7 @@ static struct semaphore hif_sema_wait_response;
 static struct semaphore hif_sema_deinit;
 static struct timer_list periodic_rssi;
 
-u8 gau8MulticastMacAddrList[WILC_MULTICAST_TABLE_SIZE][ETH_ALEN];
+u8 multicast_mac_addr_list[WILC_MULTICAST_TABLE_SIZE][ETH_ALEN];
 
 static u8 rcv_assoc_resp[MAX_ASSOC_RESP_FRAME_SIZE];
 
@@ -2713,7 +2713,8 @@ static void Handle_SetMulticastFilter(struct host_if_drv *hif_drv,
        *pu8CurrByte++ = ((strHostIfSetMulti->cnt >> 24) & 0xFF);
 
        if ((strHostIfSetMulti->cnt) > 0)
-               memcpy(pu8CurrByte, gau8MulticastMacAddrList, ((strHostIfSetMulti->cnt) * ETH_ALEN));
+               memcpy(pu8CurrByte, multicast_mac_addr_list,
+                      ((strHostIfSetMulti->cnt) * ETH_ALEN));
 
        result = send_config_pkt(SET_CFG, &wid, 1,
                                 get_id_from_handler(hif_drv));
index 09ddba2fb53acac0968bbbab5a8c01aad14fc5e7..1e14e97f6cba57aeaafe260b0eebb7fe067745ba 100644 (file)
@@ -46,7 +46,7 @@
 
 extern bool g_obtainingIP;
 extern void resolve_disconnect_aberration(void *drvHandler);
-extern u8 gau8MulticastMacAddrList[WILC_MULTICAST_TABLE_SIZE][ETH_ALEN];
+extern u8 multicast_mac_addr_list[WILC_MULTICAST_TABLE_SIZE][ETH_ALEN];
 extern struct timer_list hDuringIpTimer;
 
 static int linux_wlan_device_power(int on_off)
@@ -1343,9 +1343,14 @@ static void wilc_set_multicast_list(struct net_device *dev)
        /* Store all of the multicast addresses in the hardware filter */
        netdev_for_each_mc_addr(ha, dev)
        {
-               memcpy(gau8MulticastMacAddrList[i], ha->addr, ETH_ALEN);
+               memcpy(multicast_mac_addr_list[i], ha->addr, ETH_ALEN);
                PRINT_D(INIT_DBG, "Entry[%d]: %x:%x:%x:%x:%x:%x\n", i,
-                       gau8MulticastMacAddrList[i][0], gau8MulticastMacAddrList[i][1], gau8MulticastMacAddrList[i][2], gau8MulticastMacAddrList[i][3], gau8MulticastMacAddrList[i][4], gau8MulticastMacAddrList[i][5]);
+                       multicast_mac_addr_list[i][0],
+                       multicast_mac_addr_list[i][1],
+                       multicast_mac_addr_list[i][2],
+                       multicast_mac_addr_list[i][3],
+                       multicast_mac_addr_list[i][4],
+                       multicast_mac_addr_list[i][5]);
                i++;
        }