iwmc3200wifi: use cfg80211_connect_result to send req/resp IE
cfg80211_connect_result() let us specify associate request and response IEs as parameters after we are connected. We use this capability instead of doing it ourselves with WEXT. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
@@ -497,6 +497,13 @@ void iwm_link_off(struct iwm_priv *iwm)
|
||||
memset(wstats, 0, sizeof(struct iw_statistics));
|
||||
wstats->qual.updated = IW_QUAL_ALL_INVALID;
|
||||
|
||||
kfree(iwm->req_ie);
|
||||
iwm->req_ie = NULL;
|
||||
iwm->req_ie_len = 0;
|
||||
kfree(iwm->resp_ie);
|
||||
iwm->resp_ie = NULL;
|
||||
iwm->resp_ie_len = 0;
|
||||
|
||||
del_timer_sync(&iwm->watchdog);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user