ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)
[openwrt.git] / package / madwifi / patches / 473-mutex_fix.patch
1 --- a/ath/if_athvar.h
2 +++ b/ath/if_athvar.h
3 @@ -991,5 +991,5 @@
4 #endif
5 /* Protects the device from concurrent accesses */
6 -#define ATH_LOCK_INIT(_sc) init_MUTEX(&(_sc)->sc_lock)
7 +#define ATH_LOCK_INIT(_sc) sema_init(&(_sc)->sc_lock, 1)
8 #define ATH_LOCK_DESTROY(_sc)
9 #define ATH_LOCK(_sc) down(&(_sc)->sc_lock)
This page took 0.042162 seconds and 5 git commands to generate.