]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Validate legacy rateset.
authorBala Shanmugam <bkamatch@qca.qualcomm.com>
Fri, 20 Apr 2012 13:42:58 +0000 (19:12 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:37:41 +0000 (15:37 -0400)
commit5c95a9adcbb01c4c0fb8f83564853e608253104e
tree3ae9e3da50fc6ed24ab12c2c6ea7d1e2516bef08
parent8f18d538e9fdf4f43e4b7e5e274a51c12f51cffa
cfg80211: Validate legacy rateset.

Legacy rates are not validated while configuring
tx rateset using iw. So below cmd is accepted by nl80211.
sudo iw wlan2 set bitrates legacy-2.4 1 2 3

Validate legacy rates and return
error if any rate in the rateset is not valid.

Signed-off-by: Bala Shanmugam <bkamatch@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c