mac80211: use min rate as basic rate for buggy APs
authorEliad Peller <eliad@wizery.com>
Sun, 30 Oct 2011 13:41:59 +0000 (15:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Nov 2011 18:19:13 +0000 (13:19 -0500)
commit3432f9233704a66e6067944339a311744243707d
treeeca01496a63c79f4d6468df7f9dcec2e8a9fb22d
parentae8e46723f803057daff392bdc93332be2f0ec98
mac80211: use min rate as basic rate for buggy APs

Some buggy APs (and even P2P_GO) don't advertise their
basic rates in the association response.

In such case, use the min supported rate as the
basic rate.

Reported-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c