]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: propagate hw initialization errors
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 3 Aug 2009 19:24:35 +0000 (12:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:27 +0000 (16:44 -0400)
commit7819ac84b689b61340f29af6233fa1d15b76a6ef
tree088a5b201762c087fd57507f80ad4c433bbc0896
parentfbf54660d1b48fba8527aae5c628ba72feee8f83
ath9k: propagate hw initialization errors

We were never propagating hw initialization errors, lets
do that now and also use -EOPNOTSUPP when device revision is
not supported yet.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/main.c