Commit 9bf8ab35 authored by Henry Ptasinski's avatar Henry Ptasinski Committed by John W. Linville

wireless-next-2.6: brcm80211: fix compile issue

Commit 59eb21a6 "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: default avatarStanislav Fomichev <kernel@fomichev.me>
Reviewed-by: default avatarHenry Ptasinski <henryp@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 83bdf2a1
...@@ -2313,7 +2313,9 @@ static s32 wl_inform_single_bss(struct wl_priv *wl, struct wl_bss_info *bi) ...@@ -2313,7 +2313,9 @@ static s32 wl_inform_single_bss(struct wl_priv *wl, struct wl_bss_info *bi)
notif_bss_info->frame_len = notif_bss_info->frame_len =
offsetof(struct ieee80211_mgmt, offsetof(struct ieee80211_mgmt,
u.beacon.variable) + wl_get_ielen(wl); u.beacon.variable) + wl_get_ielen(wl);
freq = ieee80211_channel_to_frequency(notif_bss_info->channel); freq = ieee80211_channel_to_frequency(notif_bss_info->channel,
band->band);
channel = ieee80211_get_channel(wiphy, freq); channel = ieee80211_get_channel(wiphy, freq);
WL_DBG("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n", WL_DBG("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment