]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: fix recursive locking in ath5k_beacon_update
authorBob Copeland <me@bobcopeland.com>
Fri, 18 Jul 2008 15:11:21 +0000 (11:11 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Jul 2008 20:55:04 +0000 (16:55 -0400)
commit31aea73be18fe61679e3127e3dc947e6c6be9f96
tree0ae891913378b746d6285bcd6246baa9ceb30f4d
parentd3fc8c5eedfabfbe0a7cdc6c97f07ec27209f902
ath5k: fix recursive locking in ath5k_beacon_update

ath5k_beacon_update takes sc->lock upon entry.  However, it is only
called from within ath5k_config_interface, which already holds the lock.
Remove the unnecessary locking from ath5k_beacon_update.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c