Commit 9b99274a authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename u32RxCount of struct rf_info

This patch renames u32RxCount of struct rf_info to rx_cnt
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 7e84ff4e
...@@ -2156,7 +2156,7 @@ s32 Handle_GetStatistics(struct host_if_drv *hif_drv, struct rf_info *pstrStatis ...@@ -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].id = WID_RECEIVED_FRAGMENT_COUNT;
strWIDList[u32WidsCount].type = WID_INT; strWIDList[u32WidsCount].type = WID_INT;
strWIDList[u32WidsCount].size = sizeof(u32); strWIDList[u32WidsCount].size = sizeof(u32);
strWIDList[u32WidsCount].val = (s8 *)&pstrStatistics->u32RxCount; strWIDList[u32WidsCount].val = (s8 *)&pstrStatistics->rx_cnt;
u32WidsCount++; u32WidsCount++;
strWIDList[u32WidsCount].id = WID_FAILED_COUNT; strWIDList[u32WidsCount].id = WID_FAILED_COUNT;
......
...@@ -56,7 +56,7 @@ struct rf_info { ...@@ -56,7 +56,7 @@ struct rf_info {
u8 link_speed; u8 link_speed;
s8 rssi; s8 rssi;
u32 tx_cnt; u32 tx_cnt;
u32 u32RxCount; u32 rx_cnt;
u32 u32TxFailureCount; u32 u32TxFailureCount;
}; };
......
...@@ -1567,7 +1567,7 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev, ...@@ -1567,7 +1567,7 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev,
BIT(NL80211_STA_INFO_TX_BITRATE); BIT(NL80211_STA_INFO_TX_BITRATE);
sinfo->signal = strStatistics.rssi; 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_packets = strStatistics.tx_cnt + strStatistics.u32TxFailureCount;
sinfo->tx_failed = strStatistics.u32TxFailureCount; sinfo->tx_failed = strStatistics.u32TxFailureCount;
sinfo->txrate.legacy = strStatistics.link_speed * 10; sinfo->txrate.legacy = strStatistics.link_speed * 10;
......
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