mac80211: fix basic rate bitmap calculation
commit64e1b00c974ddeae6a60ebb02e1c487371905cea
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 24 Apr 2009 16:05:16 +0000 (24 16:05 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 22:44:59 +0000 (8 15:44 -0700)
tree0aeb78b3553f3f15d8b8ddb0a2b86b1bfd1a47cf
parentd2d83e1f527b6b0faf15d54b22c032ed5812d054
mac80211: fix basic rate bitmap calculation

upstream commit: 7e0986c17f695952ce5d61ed793ce048ba90a661

"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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/mac80211/mlme.c