mwl8k: honor peer rate set
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 4 Jan 2010 20:55:52 +0000 (21:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jan 2010 22:13:28 +0000 (17:13 -0500)
commitc6e9601071173fed2a77f9c435c41f3b33d1018f
tree64fa716b002e891571af4ceb2f63a6a4d7dad27a
parenta680400e8ac32adda81b5e2d7f23dfac63e064fe
mwl8k: honor peer rate set

When calling SET_RATE, SET_AID, or when creating a station database
entry for our AP, pass in the AP's rate set instead of just blindly
enabling all legacy rates, so as to end up doing the right thing when
talking to 11b-only APs.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c