diff options
author | Arend van Spriel <arend@broadcom.com> | 2014-05-27 14:56:15 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-29 21:08:11 +0400 |
commit | 5a394eba4bc7ec8741f59fcede6bd3d20ae6488c (patch) | |
tree | 081df56ad6653bce99c05b9f079f8dd52b6a1a73 /drivers/net/wireless/brcm80211/brcmfmac/usb.c | |
parent | 0f0fe990e329583bf403f0c36d4e310d79e75b87 (diff) | |
download | linux-5a394eba4bc7ec8741f59fcede6bd3d20ae6488c.tar.xz |
brcmfmac: make chandef_to_chanspec() function static
The function chandef_to_chanspec() was added by
brcmfmac: determine chanspec from struct cfg80211_chan_def info
The struct cfg80211_chan_def contains additional info to derive the
bandwidth and side-band information of the chanspec. This patch adds
chandef_to_chanspec() function used in IBSS join and starting AP
operation.
However, it introduced a sparse warning because the function
is only called from within the source file wl_cfg80211.c.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/usb.c')
0 files changed, 0 insertions, 0 deletions