Commit 55d44a62 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: rename pstrDelAllStationMsg in wilc_del_allstation

This patch renames pstrDelAllStationMsg to del_all_sta_info to avoid
camelcase.
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2092374d
...@@ -4303,7 +4303,7 @@ int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN]) ...@@ -4303,7 +4303,7 @@ int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN])
{ {
int result = 0; int result = 0;
struct host_if_msg msg; struct host_if_msg msg;
struct del_all_sta *pstrDelAllStationMsg = &msg.body.del_all_sta_info; struct del_all_sta *del_all_sta_info = &msg.body.del_all_sta_info;
struct host_if_drv *hif_drv = vif->hif_drv; struct host_if_drv *hif_drv = vif->hif_drv;
u8 au8Zero_Buff[ETH_ALEN] = {0}; u8 au8Zero_Buff[ETH_ALEN] = {0};
u32 i; u32 i;
...@@ -4323,14 +4323,14 @@ int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN]) ...@@ -4323,14 +4323,14 @@ int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN])
for (i = 0; i < MAX_NUM_STA; i++) { for (i = 0; i < MAX_NUM_STA; i++) {
if (memcmp(mac_addr[i], au8Zero_Buff, ETH_ALEN)) { if (memcmp(mac_addr[i], au8Zero_Buff, ETH_ALEN)) {
memcpy(pstrDelAllStationMsg->del_all_sta[i], mac_addr[i], ETH_ALEN); memcpy(del_all_sta_info->del_all_sta[i], mac_addr[i], ETH_ALEN);
PRINT_D(CFG80211_DBG, "BSSID = %x%x%x%x%x%x\n", PRINT_D(CFG80211_DBG, "BSSID = %x%x%x%x%x%x\n",
pstrDelAllStationMsg->del_all_sta[i][0], del_all_sta_info->del_all_sta[i][0],
pstrDelAllStationMsg->del_all_sta[i][1], del_all_sta_info->del_all_sta[i][1],
pstrDelAllStationMsg->del_all_sta[i][2], del_all_sta_info->del_all_sta[i][2],
pstrDelAllStationMsg->del_all_sta[i][3], del_all_sta_info->del_all_sta[i][3],
pstrDelAllStationMsg->del_all_sta[i][4], del_all_sta_info->del_all_sta[i][4],
pstrDelAllStationMsg->del_all_sta[i][5]); del_all_sta_info->del_all_sta[i][5]);
u8AssocNumb++; u8AssocNumb++;
} }
} }
...@@ -4339,7 +4339,7 @@ int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN]) ...@@ -4339,7 +4339,7 @@ int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN])
return result; return result;
} }
pstrDelAllStationMsg->assoc_sta = u8AssocNumb; del_all_sta_info->assoc_sta = u8AssocNumb;
result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg)); result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg));
if (result) if (result)
......
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