git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k: Unlock sc->mutex on error path
[pandora-kernel.git]
/
drivers
/
net
/
wireless
/
ath9k
/
main.c
diff --git
a/drivers/net/wireless/ath9k/main.c
b/drivers/net/wireless/ath9k/main.c
index
1e38242
..
f5f5739
100644
(file)
--- a/
drivers/net/wireless/ath9k/main.c
+++ b/
drivers/net/wireless/ath9k/main.c
@@
-2145,6
+2145,7
@@
static int ath9k_add_interface(struct ieee80211_hw *hw,
default:
DPRINTF(sc, ATH_DBG_FATAL,
"Interface type %d not yet supported\n", conf->type);
+ mutex_unlock(&sc->mutex);
return -EOPNOTSUPP;
}