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
@@ -462,6 +462,16 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
@@ -463,6 +463,16 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
}
#endif /* DSLCPE_DELAY */
@@ -17,7 +17,7 @@
#define WL_DEFAULT_OPS \
.ndo_open = wl_open, \
.ndo_stop = wl_close, \
@@ -470,6 +480,7 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
@@ -471,6 +481,7 @@ wl_schedule_fn(wl_info_t *wl, void (*fn)
.ndo_set_mac_address = wl_set_mac_address, \
.ndo_set_multicast_list = wl_set_multicast_list, \
.ndo_do_ioctl = wl_ioctl