]> git.baikalelectronics.ru Git - kernel.git/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)
commit19db4fb95dce7be698e0ed0c52a9ab81f2ab9d3e
tree062b64d4a6e5fc27c5b9c6ca5ec91f17b18fef39
parent14f4e474e1d862bd701d7195774ff688bc87efd2
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