staging: wilc1000: rename s8RSSI of struct rf_info
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 03:05:30 +0000 (12:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames s8RSSI of struct rf_info to rssi
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 539911528a37e0518594717445676c98190e0590..bee1f7f11d0c1ce364cc91a33e0311ebb8078d75 100644 (file)
@@ -2144,7 +2144,7 @@ s32 Handle_GetStatistics(struct host_if_drv *hif_drv, struct rf_info *pstrStatis
        strWIDList[u32WidsCount].id = WID_RSSI;
        strWIDList[u32WidsCount].type = WID_CHAR;
        strWIDList[u32WidsCount].size = sizeof(char);
-       strWIDList[u32WidsCount].val = (s8 *)&pstrStatistics->s8RSSI;
+       strWIDList[u32WidsCount].val = (s8 *)&pstrStatistics->rssi;
        u32WidsCount++;
 
        strWIDList[u32WidsCount].id = WID_SUCCESS_FRAME_COUNT;
index cef952a1ef033eb162a2304ec19cf2a9cd8ee0d6..25f748fd5db0fff0bc487910a4f28249ba643451 100644 (file)
@@ -54,7 +54,7 @@
 
 struct rf_info {
        u8 link_speed;
-       s8 s8RSSI;
+       s8 rssi;
        u32 u32TxCount;
        u32 u32RxCount;
        u32 u32TxFailureCount;
index 29b769f834fdf326e109572cd83d39d7ec61daaa..632daa802b799ae1ad878fb3831d21a25476ea7d 100644 (file)
@@ -1566,7 +1566,7 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev,
                                                BIT(NL80211_STA_INFO_TX_FAILED) |
                                                BIT(NL80211_STA_INFO_TX_BITRATE);
 
-               sinfo->signal           =  strStatistics.s8RSSI;
+               sinfo->signal = strStatistics.rssi;
                sinfo->rx_packets   =  strStatistics.u32RxCount;
                sinfo->tx_packets   =  strStatistics.u32TxCount + strStatistics.u32TxFailureCount;
                sinfo->tx_failed        =  strStatistics.u32TxFailureCount;