broadcom-sta/broadcom-sta-5.100.82.38-kernel-2.6.38.patch
Silvan Calarco e52276f9b0 update to 6.30.223.141
switch to dkms [release 6.30.223.141-1mamba;Sun Sep 15 2013]
2024-01-05 21:00:34 +01:00

16 lines
421 B
Diff

--- wl/src/wl/sys/wl_linux.c 2010-12-15 03:01:09.000000000 +0100
+++ temp/src/wl/sys/wl_linux.c 2011-03-04 11:02:12.754753700 +0100
@@ -482,7 +482,11 @@
#ifdef WL_ALL_PASSIVE
spin_lock_init(&wl->txq_lock);
#endif
- init_MUTEX(&wl->sem);
+ #ifndef init_MUTEX
+ sema_init(&wl->sem,1);
+ #else
+ init_MUTEX(&wl->sem);
+ #endif
}
if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode,