]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
nl80211: Disable IEEE 802.11b rates only for P2P iftypes
authorJouni Malinen <j@w1.fi>
Sat, 29 Oct 2011 19:46:58 +0000 (22:46 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 29 Oct 2011 19:46:58 +0000 (22:46 +0300)
commitb3af99d202459fa843999eea2a78fd56453a0ad5
treeb251d822b0083d019be7d32790f203d819a56e92
parent97bcd562eb2687fe000ca9c71ed00e7fdbdd5bd2
nl80211: Disable IEEE 802.11b rates only for P2P iftypes

Instead of hardcoding IEEE 802.11b rates to be disabled whenever
P2P support is built in and supported by the driver, do this only
when an interface is set to P2P mode (both when adding a new
interface and when changing the interface mode). This re-enables
use of IEEE 802.11b APs with CONFIG_P2P=y builds.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c