]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: don't preset all channels as disabled
authorRafał Miłecki <rafal@milecki.pl>
Sat, 7 Jan 2017 20:36:04 +0000 (21:36 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Jan 2017 12:01:09 +0000 (14:01 +0200)
commit8c23632c8e9b1ec0e2f2564cebdd1bc7ff47c578
tree6494ef1d27259eea81b750cd76df6c4a6cbad6f3
parent6c3341ab3cee3d85ff465cb59876459fc2838fed
brcmfmac: don't preset all channels as disabled

During init we take care of regulatory stuff by disabling all
unavailable channels (see brcmf_construct_chaninfo) so this predisabling
them is not really required (and this patch won't change any behavior).
It will on the other hand allow more detailed runtime control over
channels which is the main reason for this change.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c