rsi: advertise 5GHz support based on device capability
authorAmitkumar Karwar <amit.karwar@redpinesignals.com>
Tue, 10 Apr 2018 15:04:17 +0000 (20:34 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 17:25:19 +0000 (20:25 +0300)
commitf0b147b8f1d27c9fa543704b21c67a7a3723c7d2
tree0a6b1613b0e13c5a24ff0583a0df1dda57e86a93
parent1e9c410f26a2ec3201b0f10141275afcbdaf6b69
rsi: advertise 5GHz support based on device capability

Currently 5GHz gets advertised even for the device which supports
only 2.4Ghz band. This patch fixes the issue

Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mac80211.c