diff options
author | Zhu Yi <yi.zhu@intel.com> | 2009-07-19 23:47:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:28 -0400 |
commit | b68518fcbc6e0fe8c06a218cd2b92f62f3730cf9 (patch) | |
tree | 220a8125be09c980d03a552db21a0b0385700f6f /drivers/net/wireless/iwmc3200wifi/main.c | |
parent | 3409ff7711bcf70390d5ba8ebde5d913b5266a45 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/main.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/main.c b/drivers/net/wireless/iwmc3200wifi/main.c index 484f110151b7..cf2574442b57 100644 --- a/drivers/net/wireless/iwmc3200wifi/main.c +++ b/drivers/net/wireless/iwmc3200wifi/main.c | |||
@@ -497,6 +497,13 @@ void iwm_link_off(struct iwm_priv *iwm) | |||
497 | memset(wstats, 0, sizeof(struct iw_statistics)); | 497 | memset(wstats, 0, sizeof(struct iw_statistics)); |
498 | wstats->qual.updated = IW_QUAL_ALL_INVALID; | 498 | wstats->qual.updated = IW_QUAL_ALL_INVALID; |
499 | 499 | ||
500 | kfree(iwm->req_ie); | ||
501 | iwm->req_ie = NULL; | ||
502 | iwm->req_ie_len = 0; | ||
503 | kfree(iwm->resp_ie); | ||
504 | iwm->resp_ie = NULL; | ||
505 | iwm->resp_ie_len = 0; | ||
506 | |||
500 | del_timer_sync(&iwm->watchdog); | 507 | del_timer_sync(&iwm->watchdog); |
501 | } | 508 | } |
502 | 509 | ||