aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/patches/012-compat-3.10.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:04:26 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:04:26 +0000
commit697f4a19e52cea8fbd17c8b764a352aab28ba9e1 (patch)
treed95ef729464969ee678d08612fa9e50d62dfffa8 /package/kernel/broadcom-wl/patches/012-compat-3.10.patch
parentb98f77f3d9d40cbe4542196c4324bf0a31a4f352 (diff)
downloadupstream-697f4a19e52cea8fbd17c8b764a352aab28ba9e1.tar.gz
upstream-697f4a19e52cea8fbd17c8b764a352aab28ba9e1.tar.bz2
upstream-697f4a19e52cea8fbd17c8b764a352aab28ba9e1.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> SVN-Revision: 38762
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) {