diff options
author | Henry Ptasinski <henryp@broadcom.com> | 2011-02-18 00:29:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-18 16:54:39 -0500 |
commit | 9bf8ab35f269d66e507de2b1ccc67a02d8284db5 (patch) | |
tree | c5fd1583f32228f56d02e7db5d32f29770e194f3 /drivers/staging | |
parent | 83bdf2a17279bd6ee3d0f5c0f086ebe06644109d (diff) |
wireless-next-2.6: brcm80211: fix compile issue
Commit 59eb21a65047 "cfg80211: Extend channel to frequency mapping for 802.11j"
changed the definition of the ieee80211_channel_to_frequency; so fix its
usage in brcmfmac.
Signed-off-by: Stanislav Fomichev <kernel@fomichev.me>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c index 991463f4a7f4..9b7b71c294b8 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c | |||
@@ -2313,7 +2313,9 @@ static s32 wl_inform_single_bss(struct wl_priv *wl, struct wl_bss_info *bi) | |||
2313 | notif_bss_info->frame_len = | 2313 | notif_bss_info->frame_len = |
2314 | offsetof(struct ieee80211_mgmt, | 2314 | offsetof(struct ieee80211_mgmt, |
2315 | u.beacon.variable) + wl_get_ielen(wl); | 2315 | u.beacon.variable) + wl_get_ielen(wl); |
2316 | freq = ieee80211_channel_to_frequency(notif_bss_info->channel); | 2316 | freq = ieee80211_channel_to_frequency(notif_bss_info->channel, |
2317 | band->band); | ||
2318 | |||
2317 | channel = ieee80211_get_channel(wiphy, freq); | 2319 | channel = ieee80211_get_channel(wiphy, freq); |
2318 | 2320 | ||
2319 | WL_DBG("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n", | 2321 | WL_DBG("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n", |