]> err.no Git - linux-2.6/commit
WDEV: ath5k, fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Fri, 15 Feb 2008 20:58:51 +0000 (21:58 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 21 Feb 2008 01:11:48 +0000 (20:11 -0500)
commit65872e6b434ca463123f7d03b530f143aabc6333
tree5c18c438b1fa33e7b1d3a3e51b2bb23b4bd4be3b
parent387e100ac24a6c8f2b6f4ce572098447d2893008
WDEV: ath5k, fix lock imbalance

Omitted lock causes sparse warning
drivers/net/wireless/ath5k/base.c:1682:1: warning: context imbalance in 'ath5k_tasklet_rx' - different lock contexts for basic block

Add the lock to the guilty fail path.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Cc: Luis R. Rodriguez <mcgrof@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c