]> bbs.cooldavid.org Git - net-next-2.6.git/commit
rt2x00: Fix IEEE80211_HT_CAP_RX_STBC assignment
authorIvo van Doorn <IvDoorn@gmail.com>
Tue, 29 Jun 2010 19:48:37 +0000 (21:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jun 2010 19:00:52 +0000 (15:00 -0400)
commitaa674631efabfb21f573137da9b84ff905ba66d8
tree1d6bab658f50ac8b7bcc44bf55a5d7a3d8f707ae
parentfdb87251229be046b2b61fd15320320f7b66853b
rt2x00: Fix IEEE80211_HT_CAP_RX_STBC assignment

IEEE80211_HT_CAP_RX_STBC is a 2 bit flag, and should thus
never be set as normal flag. Instead we must read the number
of RX paths from the EEPROM and set the IEEE80211_HT_CAP_RX_STBC
with the correct value (using the same logic as the number of TX
streams).

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c