staging: wilc1000: rename u32RxCount of struct rf_info
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 03:05:32 +0000 (12:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames u32RxCount of struct rf_info to rx_cnt
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/host_interface.h
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 0d220a807caec6b0e7d087c034084c7fb7b2c1ea..4f64ee78d3067d559a81020fdfeea574c2808737 100644 (file)
@@ -2156,7 +2156,7 @@ s32 Handle_GetStatistics(struct host_if_drv *hif_drv, struct rf_info *pstrStatis
        strWIDList[u32WidsCount].id = WID_RECEIVED_FRAGMENT_COUNT;
        strWIDList[u32WidsCount].type = WID_INT;
        strWIDList[u32WidsCount].size = sizeof(u32);
-       strWIDList[u32WidsCount].val = (s8 *)&pstrStatistics->u32RxCount;
+       strWIDList[u32WidsCount].val = (s8 *)&pstrStatistics->rx_cnt;
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_FAILED_COUNT;
index 9d31c4e87347606a2950279c895e794431c8aef4..d61b9b7089cb09a6e08c87797e4dd567804cee72 100644 (file)
@@ -56,7 +56,7 @@ struct rf_info {
        u8 link_speed;
        s8 rssi;
        u32 tx_cnt;
-       u32 u32RxCount;
+       u32 rx_cnt;
        u32 u32TxFailureCount;
 };
 
index 73cec4bb89f268aac93e48364d509529d22d35ab..9b7cac3cdbdda60106901a06efb4a7006964aba6 100644 (file)
@@ -1567,7 +1567,7 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev,
                                                BIT(NL80211_STA_INFO_TX_BITRATE);
 
                sinfo->signal = strStatistics.rssi;
-               sinfo->rx_packets   =  strStatistics.u32RxCount;
+               sinfo->rx_packets = strStatistics.rx_cnt;
                sinfo->tx_packets = strStatistics.tx_cnt + strStatistics.u32TxFailureCount;
                sinfo->tx_failed        =  strStatistics.u32TxFailureCount;
                sinfo->txrate.legacy = strStatistics.link_speed * 10;
This page took 0.029509 seconds and 5 git commands to generate.