aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/patches/012-compat-3.10.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-11-11 22:04:26 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-11-11 22:04:26 +0000
commitcb7afcc906ed1e44dfb594e377bcde0009e45dd2 (patch)
tree14e9b755aebdaab987e0cefcc464be79be47d135 /package/kernel/broadcom-wl/patches/012-compat-3.10.patch
parente3fa6d1b8ffbd2ee8502c85a3e807f07edf40246 (diff)
downloadupstream-cb7afcc906ed1e44dfb594e377bcde0009e45dd2.tar.gz
upstream-cb7afcc906ed1e44dfb594e377bcde0009e45dd2.tar.bz2
upstream-cb7afcc906ed1e44dfb594e377bcde0009e45dd2.zip
broadcom-wl: fix crash when starting multiple virtual interfaces
When enabling multiple VIFS, the driver sometimes crashes. The frequency of the crash increases as more VIFS are enabled. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38762 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/broadcom-wl/patches/012-compat-3.10.patch')
-rw-r--r--package/kernel/broadcom-wl/patches/012-compat-3.10.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/broadcom-wl/patches/012-compat-3.10.patch b/package/kernel/broadcom-wl/patches/012-compat-3.10.patch
index 1ab853967a..e36028a634 100644
--- a/package/kernel/broadcom-wl/patches/012-compat-3.10.patch
+++ b/package/kernel/broadcom-wl/patches/012-compat-3.10.patch
@@ -9,7 +9,7 @@
static int wl_read_proc(char *buffer, char **start, off_t offset, int length, int *eof, void *data);
#endif /* defined(CONFIG_PROC_FS) */
#ifdef BCMDBG
-@@ -516,7 +516,7 @@ wl_attach(uint16 vendor, uint16 device,
+@@ -517,7 +517,7 @@ wl_attach(uint16 vendor, uint16 device,
struct net_device *dev;
wl_if_t *wlif;
wl_info_t *wl;
@@ -18,7 +18,7 @@
char tmp[128];
#endif
osl_t *osh;
-@@ -660,7 +660,7 @@ wl_attach(uint16 vendor, uint16 device,
+@@ -664,7 +664,7 @@ wl_attach(uint16 vendor, uint16 device,
WL_ERROR(("wl%d: Error setting MPC variable to 0\n", unit));
}
}
@@ -27,7 +27,7 @@
/* create /proc/net/wl<unit> */
sprintf(tmp, "net/wl%d", wl->pub->unit);
create_proc_read_entry(tmp, 0, 0, wl_read_proc, (void*)wl);
-@@ -806,7 +806,7 @@ wl_dbus_disconnect_cb(void *arg)
+@@ -810,7 +810,7 @@ wl_dbus_disconnect_cb(void *arg)
}
#endif /* BCMDBUS */
@@ -36,7 +36,7 @@
static int
wl_read_proc(char *buffer, char **start, off_t offset, int length, int *eof, void *data)
{
-@@ -1141,7 +1141,7 @@ wl_free(wl_info_t *wl)
+@@ -1149,7 +1149,7 @@ wl_free(wl_info_t *wl)
/* free common resources */
if (wl->wlc) {