qtnfmac: let wifi card handle channel switch request to the same chan
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Thu, 21 Sep 2017 21:34:33 +0000 (14:34 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Sep 2017 08:27:15 +0000 (11:27 +0300)
commit3656ab0fef5b29e95d251e3f0a0bfb7da311337a
tree0267c11f1e9cd4697d7d8d35e9149ab543a5cba8
parent96d4eaf20fb8d34a475c4086de3ed9bd483993d6
qtnfmac: let wifi card handle channel switch request to the same chan

No reason to verify channel switch request in driver, it can simply be
forwarded to wireless device. Device can perform required checks and
return appropriate error code, and driver may not even have information
on current operational channel.

Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c