diff options
Diffstat (limited to 'network/broadcom-sta/wl_linux.c-semaphore.patch')
-rw-r--r-- | network/broadcom-sta/wl_linux.c-semaphore.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/network/broadcom-sta/wl_linux.c-semaphore.patch b/network/broadcom-sta/wl_linux.c-semaphore.patch new file mode 100644 index 0000000000..8cdd7306f4 --- /dev/null +++ b/network/broadcom-sta/wl_linux.c-semaphore.patch @@ -0,0 +1,12 @@ +diff -Nur orig//src/wl/sys/wl_linux.c fixed/src/wl/sys/wl_linux.c +--- orig//src/wl/sys/wl_linux.c 2010-12-14 19:58:07.000000000 -0600 ++++ fixed/src/wl/sys/wl_linux.c 2011-03-09 12:32:47.236260917 -0600 +@@ -482,7 +482,7 @@ + #ifdef WL_ALL_PASSIVE + spin_lock_init(&wl->txq_lock); + #endif +- init_MUTEX(&wl->sem); ++ sema_init(&wl->sem,1); + } + + if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode, |