]> Pileus Git - ~andy/linux/commit
ath9k_htc: do some initial hardware configuration
authorOleksij Rempel <linux@rempel-privat.de>
Fri, 19 Jul 2013 18:16:17 +0000 (20:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Aug 2013 22:38:22 +0000 (15:38 -0700)
commit20d717bb0ff8cf37eedc9edb538c6f7ddc2b44cc
treede66c1758c539d2be4002baddbd36ff1f74bd3a8
parent3d709d102bd11c86eddcbf6c50407df19a4fbc34
ath9k_htc: do some initial hardware configuration

commit dc2a87f519a4d8cb376ab54f22b6b98a943b51ce upstream.

Currently we configure harwdare and clock, only after
interface start. In this case, if we reload module or
reboot PC without configuring adapter, firmware will freeze.
There is no software way to reset adpter.

This patch add initial configuration and set it in
disabled state, to avoid this freeze. Behaviour of this patch
should be similar to: ifconfig wlan0 up; ifconfig wlan0 down.

Bug: https://github.com/qca/open-ath9k-htc-firmware/issues/1
Tested-by: Bo Shi <cnshibo@gmail.com>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/htc_drv_init.c