Skip to content

Commit

Permalink
wireless-next-2.6: brcm80211: fix compile issue
Browse files Browse the repository at this point in the history
Commit 59eb21a "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>
  • Loading branch information
Henry Ptasinski authored and John W. Linville committed Feb 18, 2011
1 parent 83bdf2a commit 9bf8ab3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,9 @@ static s32 wl_inform_single_bss(struct wl_priv *wl, struct wl_bss_info *bi)
notif_bss_info->frame_len =
offsetof(struct ieee80211_mgmt,
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);

WL_DBG("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n",
Expand Down

0 comments on commit 9bf8ab3

Please sign in to comment.