]> git.hungrycats.org Git - linux/commit
[PATCH] (6/8) arlan -- add spinlock
authorStephen Hemminger <shemminger@osdl.org>
Thu, 25 Sep 2003 15:28:21 +0000 (11:28 -0400)
committerStephen Hemminger <shemminger@osdl.org>
Thu, 25 Sep 2003 15:28:21 +0000 (11:28 -0400)
commit09bdfb053100807a99c8f4730f22db9eeb8dbb82
treea6d289e5006e4edfb31c60482684f2131f1878ea
parent48a1db9aea115d3753ff0ab3d25c696f8d5da723
[PATCH] (6/8) arlan -- add spinlock

Convert bogus test_and_set local wait, to a real spin_lock so it
has a chance of working on an SMP.  This also does the right thing
and locks out interrupts while giving commands on UP;  maybe the
comment in Kconfig was because there was never a proper mutex...

Don't have real hardware to try this, but it can't be worse than
the previous code.
drivers/net/wireless/arlan-main.c
drivers/net/wireless/arlan.h