b43legacy: Rewrite pwork locking
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 11 Oct 2007 05:05:57 +0000 (00:05 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:28 +0000 (15:03 -0800)
commitf34eb692acf4dc937f01ea58686ffe1eb6c5eed8
treeee0aa326002dbd58b355f8e59dc654a2b0a8f90e
parent6be50837e303c53b1e5a0138dfed132ccbabcdad
b43legacy: Rewrite pwork locking

Implement much easier and more lightweight locking for
the periodic work. This also removes the last big busywait
loop and replaces it by a sleeping loop.

This patch for b43legacy is patterned aftar the same patch
for b43 by Michael Buesch <mb@bu3sch.de>.

Signed-off-by: Larry Finger <larry.finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/main.c