ath10k: simplify computation of mgmt rx band
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 21 Oct 2014 07:10:30 +0000 (10:10 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 21 Oct 2014 07:36:56 +0000 (10:36 +0300)
commit21040bf9cb02eb688cb7f1ddaa568713d9ec3c2e
treeb7d2b5fb5795cbb278fcf0fb6f58a94132543972
parent077efc8c42e8c35870946fc8d2452b70e9a13fba
ath10k: simplify computation of mgmt rx band

Using global channel won't work with chanctx. Try
to determine the channel from the information
provided in the wmi event itself alone. This
should be sufficient.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c