Search Linux Wireless

[PATCH 2/4] compat-wireless: brcm80211 adapt changes in mac80211

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The interface to mac80211 changes and brcm80211 uses the old one.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/38-brcm80211-mac80211-backport.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 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 0000000..329a119
--- /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",
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux