ath9k: unlock on error path in ath9k_change_interface()
authorDan Carpenter <error27@gmail.com>
Tue, 21 Dec 2010 03:59:06 +0000 (06:59 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 20:43:27 +0000 (15:43 -0500)
commit6dab55bf7eb52ca21d5e6c97b97f70875fe41ddc
tree78fe102bd2c9eb939a3ba6a13288e21fae263cd6
parent8d6a686a0d20d39c202fdfc6fa7f1daf1d6e3b35
ath9k: unlock on error path in ath9k_change_interface()

There is a missing unlock when we hit the "No beacon slot available"
error condition.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c