ath10k: use station's current operating mode from assoc request
authorVivek Natarajan <nataraja@qti.qualcomm.com>
Tue, 6 Oct 2015 12:19:34 +0000 (15:19 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 9 Oct 2015 08:37:09 +0000 (11:37 +0300)
commit72f8cef5d1155209561b01e092ce1a04ad50c4cb
tree9b732bfbc465bb1fdc7f3533968eb8ea0d6b43c7
parentab4e3db043589204041c00272f751d05b4e52c50
ath10k: use station's current operating mode from assoc request

The current number of spatial streams used by the client is advertised
as a separate IE in assoc request. Use this information to set
the NSS operating mode.

Fixes: 45c9abc059fa ("ath10k: implement more versatile set_bitrate_mask").
Signed-off-by: Vivek Natarajan <nataraja@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c