/[gentoo-x86]/net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.38-linux-2.6.37.patch
Gentoo

Contents of /net-wireless/broadcom-sta/files/broadcom-sta-5.100.82.38-linux-2.6.37.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Feb 3 12:39:56 2013 UTC (5 years, 6 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Cleanup due #22900

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 diff -Naur broadcom-sta.orig/src/wl/sys/wl_linux.c broadcom-sta/src/wl/sys/wl_linux.c
2 --- broadcom-sta.orig/src/wl/sys/wl_linux.c 2010-12-15 11:01:09.000000000 +0900
3 +++ broadcom-sta/src/wl/sys/wl_linux.c 2011-01-02 00:18:32.438095116 +0900
4 @@ -482,7 +482,11 @@
5 #ifdef WL_ALL_PASSIVE
6 spin_lock_init(&wl->txq_lock);
7 #endif
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
9 + sema_init(&wl->sem, 1);
10 +#else
11 init_MUTEX(&wl->sem);
12 +#endif
13 }
14
15 if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode,

  ViewVC Help
Powered by ViewVC 1.1.20