]> 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)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:04:07 +0000 (16:04 -0400)
commitdc2a87f519a4d8cb376ab54f22b6b98a943b51ce
tree062b64d4a6e5fc27c5b9c6ca5ec91f17b18fef39
parent232fde062e0a2cc52e8e18a50cda361b4ba88f34
ath9k_htc: do some initial hardware configuration

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c