ath9k: restore power mode on error path
authorGabor Juhos <juhosg@openwrt.org>
Mon, 15 Jun 2009 15:49:09 +0000 (17:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Jun 2009 19:05:58 +0000 (15:05 -0400)
commit3989279ccc838c7357c75af6090f56f5cb555158
tree6d87843d328e5025e697ebc412f43ac4ee736096
parent624f0de44afa9fbb4ec8396f88d8d54b96a57a7e
ath9k: restore power mode on error path

The ath9k_ps_{wakeup,restore} calls must be in balance.

Changes-licensed-under: ISC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c