aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_ap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ap.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_ap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c
index dbb986946e1a..3d05dc15c6b8 100644
--- a/drivers/net/wireless/hostap/hostap_ap.c
+++ b/drivers/net/wireless/hostap/hostap_ap.c
@@ -858,7 +858,10 @@ void hostap_free_data(struct ap_data *ap)
858 return; 858 return;
859 } 859 }
860 860
861 flush_work_sync(&ap->add_sta_proc_queue);
862
861#ifndef PRISM2_NO_KERNEL_IEEE80211_MGMT 863#ifndef PRISM2_NO_KERNEL_IEEE80211_MGMT
864 flush_work_sync(&ap->wds_oper_queue);
862 if (ap->crypt) 865 if (ap->crypt)
863 ap->crypt->deinit(ap->crypt_priv); 866 ap->crypt->deinit(ap->crypt_priv);
864 ap->crypt = ap->crypt_priv = NULL; 867 ap->crypt = ap->crypt_priv = NULL;
@@ -2356,7 +2359,7 @@ int prism2_ap_get_sta_qual(local_info_t *local, struct sockaddr addr[],
2356} 2359}
2357 2360
2358 2361
2359/* Translate our list of Access Points & Stations to a card independant 2362/* Translate our list of Access Points & Stations to a card independent
2360 * format that the Wireless Tools will understand - Jean II */ 2363 * format that the Wireless Tools will understand - Jean II */
2361int prism2_ap_translate_scan(struct net_device *dev, 2364int prism2_ap_translate_scan(struct net_device *dev,
2362 struct iw_request_info *info, char *buffer) 2365 struct iw_request_info *info, char *buffer)