ath10k: use configured nss instead of max nss
authorBen Greear <greearb@candelatech.com>
Mon, 24 Nov 2014 14:22:10 +0000 (16:22 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 26 Nov 2014 06:24:56 +0000 (08:24 +0200)
commitb116ea190be57f44c95f511d2ee7afb814c1d288
tree286bb015ea00e302f49752a868bd0936a740b27a
parent5572a95b4b5768187652a346356e39e7542ca6e0
ath10k: use configured nss instead of max nss

When re-associating a station, the nss was set back to
maximum value even if user had configured small number
of tx chains.  So, pay attention to user's config in
this case as well.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c