mac80211: fix basic rate bitmap calculation
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 19 Apr 2009 11:22:11 +0000 (13:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Apr 2009 20:36:26 +0000 (16:36 -0400)
commit7e0986c17f695952ce5d61ed793ce048ba90a661
treeaed7ba3ebffc32f192e9b990c5a0cfffb453a823
parentad935687dbe7307f5abd9e3f610a965a287324a9
mac80211: fix basic rate bitmap calculation

"mac80211: fix basic rates setting from association response"
introduced a copy/paste error.

Unfortunately, this not just leads to wrong data being passed
to the driver but is remotely exploitable for some hardware or
driver combinations.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: stable@kernel.org [2.6.29]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c