mac80211: disallow fixing bitrates with hw rate control
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 4 Dec 2009 08:26:38 +0000 (09:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Dec 2009 18:46:28 +0000 (13:46 -0500)
commit2c7e6bc9ac7cb518cf037495932d80f71a1596f2
tree99a83d89eccb9dc9d1f3cf2d2e628812f83b7671
parentd80050c4c321a74cea28c6ef9695d8427a928417
mac80211: disallow fixing bitrates with hw rate control

When hw rate control is used, these parameters have
no meaning because the hardware cannot get at them
right now, so disallow setting them. Also clean up
the function a bit.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c