From: Oleksij Rempel Date: Fri, 19 Jul 2013 18:16:17 +0000 (+0200) Subject: ath9k_htc: do some initial hardware configuration X-Git-Tag: v3.2.51~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab200d2837cf98d293c06c5bbcefd5ae2df7c66;p=pandora-kernel.git 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 Signed-off-by: Oleksij Rempel Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed