]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ath9k: Fix return code when ath9k_hw_setpower() fails on reset
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 10 Oct 2008 19:26:24 +0000 (12:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Oct 2008 19:26:24 +0000 (12:26 -0700)
commitd2a3b222cf976bc44bb9aed13f7b17feea28f633
tree2ab85189454bc849c7941ba0b40fabb6c6dbbe38
parent1cf69cfbe117d645640a9230d6deb07c9db46c5f
ath9k: Fix return code when ath9k_hw_setpower() fails on reset

We were not reporting a status code back ath9k_hw_setpower() failed
during reset so lets correct this.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/ath9k/hw.c