diff options
author | 2011-11-11 16:51:58 +0000 | |
---|---|---|
committer | 2011-11-11 16:51:58 +0000 | |
commit | 5e3ca203228fee594429e6f6cb765b7bfca846ff (patch) | |
tree | 1b8fc64fbcea4859b8fae959dc7b20beb6030612 /net-wireless/broadcom-sta/files | |
parent | Added logsurfer user. Fixed init.d issue, bug #387397. (diff) | |
download | gentoo-2-5e3ca203228fee594429e6f6cb765b7bfca846ff.tar.gz gentoo-2-5e3ca203228fee594429e6f6cb765b7bfca846ff.tar.bz2 gentoo-2-5e3ca203228fee594429e6f6cb765b7bfca846ff.zip |
Fixed to work with kernel 2.6.39, bug #389077.
(Portage version: 2.1.10.29/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/broadcom-sta/files')
-rw-r--r-- | net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.112-linux-2.6.39.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.112-linux-2.6.39.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.112-linux-2.6.39.patch new file mode 100644 index 000000000000..633b9c858d6c --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.112-linux-2.6.39.patch @@ -0,0 +1,11 @@ +--- src/wl/sys/wl_cfg80211.c.orig 2011-10-31 07:57:38.000000000 -0400 ++++ src/wl/sys/wl_cfg80211.c 2011-10-31 07:57:46.000000000 -0400 +@@ -1811,7 +1811,7 @@ + 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 +-#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39) + ,(notif_bss_info->channel <= CH_MAX_2G_CHANNEL) ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ + #endif + ); |