staging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:13 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames pstrWFIDrv of function linux_wlan_init_test_config to hif_drv
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/linux_wlan.c

index 88cf6999b02450fcbae52eb2ccf7ca299131b3d2..75edfa39d905b318948e4fe7d293d7bd599384fd 100644 (file)
@@ -632,14 +632,14 @@ static int linux_wlan_init_test_config(struct net_device *dev, struct wilc *p_ni
        unsigned char mac_add[] = {0x00, 0x80, 0xC2, 0x5E, 0xa2, 0xff};
 
        struct wilc_priv *priv;
-       struct host_if_drv *pstrWFIDrv;
+       struct host_if_drv *hif_drv;
 
        PRINT_D(TX_DBG, "Start configuring Firmware\n");
        get_random_bytes(&mac_add[5], 1);
        get_random_bytes(&mac_add[4], 1);
        priv = wiphy_priv(dev->ieee80211_ptr->wiphy);
-       pstrWFIDrv = (struct host_if_drv *)priv->hWILCWFIDrv;
-       PRINT_D(INIT_DBG, "Host = %p\n", pstrWFIDrv);
+       hif_drv = (struct host_if_drv *)priv->hWILCWFIDrv;
+       PRINT_D(INIT_DBG, "Host = %p\n", hif_drv);
 
        PRINT_D(INIT_DBG, "MAC address is : %02x-%02x-%02x-%02x-%02x-%02x\n", mac_add[0], mac_add[1], mac_add[2], mac_add[3], mac_add[4], mac_add[5]);
        wilc_get_chipid(0);