Revision 4607,
414 bytes
checked in by shaolin, 13 years ago
(diff) |
- kernel
- updated to 3.0.1
- TODO: still many things to get done
- linux-firmware
- nonfree/self-build-broadcom-wl
- add a patch to fix build failure on linux > 2.6.37
|
Rev | Line | |
---|
[4607] | 1 | --- a/src/wl/sys/wl_linux.c 2011-08-14 21:19:36.000000000 +0900 |
---|
| 2 | +++ b/src/wl/sys/wl_linux.c 2011-08-14 21:35:53.000000000 +0900 |
---|
| 3 | @@ -482,7 +482,11 @@ |
---|
| 4 | #ifdef WL_ALL_PASSIVE |
---|
| 5 | spin_lock_init(&wl->txq_lock); |
---|
| 6 | #endif |
---|
| 7 | +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37) |
---|
| 8 | + sema_init(&wl->sem, 1); |
---|
| 9 | +#else |
---|
| 10 | init_MUTEX(&wl->sem); |
---|
| 11 | +#endif |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode, |
---|
Note: See
TracBrowser
for help on using the repository browser.