diff options
author | Franky Lin <franky.lin@broadcom.com> | 2018-04-26 13:16:48 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-30 13:43:14 +0300 |
commit | aed14219067ab96e5eeb7730e9bceed10d9be989 (patch) | |
tree | bfb1a61b2ccab9d9dc324325995acec600c65c7e /drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | |
parent | 7742fce4c007141617dab9bcb90034b3c0fe2347 (diff) | |
download | linux-aed14219067ab96e5eeb7730e9bceed10d9be989.tar.xz |
brcmfmac: use nl80211_band directly to get ieee80211 channel
The enum nl80211_band used to retrieve wiphy->bands is the same as
wiphy->bands->band which is checked by wiphy_register(). So it can be used
directly as parameter of ieee80211_channel_to_frequency().
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c')
0 files changed, 0 insertions, 0 deletions