Commit 65872e6b authored by Jiri Slaby's avatar Jiri Slaby Committed by John W. Linville
Browse files

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: default avatarJiri Slaby <>
Acked-by: default avatarNick Kossifidis <>
Cc: Luis R. Rodriguez <>
Signed-off-by: default avatarJohn W. Linville <>
parent 387e100a
......@@ -1715,6 +1715,7 @@ ath5k_tasklet_rx(unsigned long data)
else if (unlikely(ret)) {
ATH5K_ERR(sc, "error in processing rx descriptor\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment