]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitbc05116ab33d30342e2b4b1bcc6d6e1184e9df97
tree0ae891913378b746d6285bcd6246baa9ceb30f4d
parentcb9289cb798502a5010c8f1d8d003842cd1449a4
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