From c950b204b435b398791b129070f5e69d27e9d1ad Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 10 Feb 2011 16:26:28 +0100 Subject: [PATCH] compat-wireless: brcm80211 adapt changes in mac80211 The interface to mac80211 changes and brcm80211 uses the old one. Signed-off-by: Hauke Mehrtens --- patches/38-brcm80211-mac80211-backport.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/38-brcm80211-mac80211-backport.patch diff --git a/patches/38-brcm80211-mac80211-backport.patch b/patches/38-brcm80211-mac80211-backport.patch new file mode 100644 index 000000000000..329a1193b160 --- /dev/null +++ b/patches/38-brcm80211-mac80211-backport.patch @@ -0,0 +1,14 @@ +This patch is a temporary solution as long as staging uses an older +version of mac80211. + +--- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c ++++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c +@@ -2312,7 +2312,7 @@ static s32 wl_inform_single_bss(struct w + 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, notif_bss_info->band); + channel = ieee80211_get_channel(wiphy, freq); + + WL_DBG("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n", -- 2.30.2