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
This commit is contained in:
Hauke Mehrtens
2013-11-11 22:04:26 +00:00
parent b98f77f3d9
commit 697f4a19e5
6 changed files with 131 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
--- a/driver/wl_linux.c
+++ b/driver/wl_linux.c
@@ -1416,7 +1416,7 @@ wl_alloc_if(wl_info_t *wl, int iftype, u
@@ -1425,7 +1425,7 @@ wl_alloc_if(wl_info_t *wl, int iftype, u
dev = alloc_etherdev(sizeof(wl_if_t));
wlif = netdev_priv(dev);
bzero(wlif, sizeof(wl_if_t));