summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h
diff options
context:
space:
mode:
authorRoland Vossen <rvossen@broadcom.com>2011-10-18 14:03:02 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-11-08 15:54:04 -0500
commit6f09be0ad534160a1931f0c0f92e18a48bd888f9 (patch)
tree51a9b930b4e63871426f0605c2b89f0ae9d6a5ce /drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h
parentd34bf64fd32abfe8141c7206ca6da92832b4fe94 (diff)
downloadlwn-6f09be0ad534160a1931f0c0f92e18a48bd888f9.tar.gz
lwn-6f09be0ad534160a1931f0c0f92e18a48bd888f9.zip
brmc80211: fmac: reworked next_bss()
Moved function to where it is called and made it more readable. Reviewed-by: Arend van Spriel <arend@broadcom.com> Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com> Signed-off-by: Roland Vossen <rvossen@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/wl_cfg80211.h')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h
index bec30e333b0b..a613b49cb13f 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h
+++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h
@@ -352,15 +352,6 @@ brcmf_cfg80211_connect_info *cfg_to_conn(struct brcmf_cfg80211_priv *cfg)
return &cfg->conn_info;
}
-static inline struct brcmf_bss_info_le *
-next_bss(struct brcmf_scan_results *list, struct brcmf_bss_info_le *bss)
-{
- return bss = bss ?
- (struct brcmf_bss_info_le *)((unsigned long)bss +
- le32_to_cpu(bss->length)) :
- list->bss_info_le;
-}
-
extern struct brcmf_cfg80211_dev *brcmf_cfg80211_attach(struct net_device *ndev,
struct device *busdev,
void *data);