[PATCH] driver_nl80211: disable 11b rates on interface change
Arik Nemtsov
arik
Sun Dec 9 00:30:26 PST 2012
From: Eliad Peller <eliad at wizery.com>
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 at wizery.com>
---
src/drivers/driver_nl80211.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 297f677..a1255f3 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -7206,6 +7206,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;
}
--
1.7.9.5
More information about the Hostap
mailing list