diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-10-30 06:44:15 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-10-30 06:44:15 +0000 |
commit | c2216b97fd27b4b8f5ce4697b607fcc2082955a9 (patch) | |
tree | dd7951da4ce7167cbaa7956f75c3cdce66fbfbfa /net-wireless/broadcom-sta/files | |
parent | Use PyPI mirrors. Fix dependencies. (diff) | |
download | gentoo-2-c2216b97fd27b4b8f5ce4697b607fcc2082955a9.tar.gz gentoo-2-c2216b97fd27b4b8f5ce4697b607fcc2082955a9.tar.bz2 gentoo-2-c2216b97fd27b4b8f5ce4697b607fcc2082955a9.zip |
Fixed 2.6.34 issue, bug #343025.
(Portage version: 2.1.9.22/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/broadcom-sta/files')
-rw-r--r-- | net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-linux-2.6.34.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-linux-2.6.34.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-linux-2.6.34.patch new file mode 100644 index 000000000000..9ac6b9ec9e8f --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-linux-2.6.34.patch @@ -0,0 +1,21 @@ +diff -Naur broadcom-sta-5.60.246.2.orig/src/wl/sys/wl_linux.c broadcom-sta-5.60.246.2/src/wl/sys/wl_linux.c +--- broadcom-sta-5.60.246.2.orig/src/wl/sys/wl_linux.c 2010-10-01 03:53:22.000000000 +0900 ++++ broadcom-sta-5.60.246.2/src/wl/sys/wl_linux.c 2010-10-30 15:29:48.000000000 +0900 +@@ -1415,7 +1415,7 @@ + static void + _wl_set_multicast_list(struct net_device *dev) + { +-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 33) ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 34) + struct dev_mc_list *mclist; + #else + struct netdev_hw_addr *ha; +@@ -1435,7 +1435,7 @@ + if (wl->pub->up) { + wl->pub->allmulti = (dev->flags & IFF_ALLMULTI)? TRUE: FALSE; + +-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 33) ++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 34) + for (i = 0, mclist = dev->mc_list; mclist && (i < dev->mc_count); + i++, mclist = mclist->next) { + if (i >= MAXMULTILIST) { |