diff options
author | Eliad Peller <eliad@wizery.com> | 2012-06-07 12:28:05 +0300 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-07-30 17:48:05 +0300 |
commit | 91f83626bab08f68962ca1df923fc683b6f8c95f (patch) | |
tree | 00a11c999c0a27acaa1bc419cf9e9bf8e97c464d /src/drivers | |
parent | 6ef9363d1bd503e622106a5250bb58619a709b13 (diff) | |
download | external_wpa_supplicant_8_ti-91f83626bab08f68962ca1df923fc683b6f8c95f.zip external_wpa_supplicant_8_ti-91f83626bab08f68962ca1df923fc683b6f8c95f.tar.gz external_wpa_supplicant_8_ti-91f83626bab08f68962ca1df923fc683b6f8c95f.tar.bz2 |
driver_nl80211: disable 11b rates on interface change
11b rates were disabled during interface addition, but
not on interface mode change.
Disable/Enable 11b rates in wpa_driver_nl80211_set_mode(),
according to the interface type (p2p or not).
Signed-hostap: Eliad Peller <eliad@wizery.com>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/driver_nl80211.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 0844350..6fe2150 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -7079,6 +7079,8 @@ done: wpa_printf(MSG_DEBUG, "nl80211: Failed to register Action " "frame processing - ignore for now"); + nl80211_disable_11b_rates(drv, drv->ifindex, is_p2p_interface(nlmode)); + return 0; } |