ath9k_htc: avoid kernel panic in ath9k_hw_reset
authorMarek Puzyniak <marek.puzyniak@tieto.com>
Tue, 7 Oct 2014 15:04:30 +0000 (17:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Oct 2014 19:07:15 +0000 (15:07 -0400)
commitc393d179924685d5c8c72446c5b6401f25fdb2a0
tree54d59978f11d1ad2ef7556d700e1bf22bd15e674
parentb18111d911980af52bead74ee45250cc96ad5108
ath9k_htc: avoid kernel panic in ath9k_hw_reset

hw pointer of ath_hw is not assigned to proper value
in function ath9k_hw_reset what finally causes kernel panic.
This can be solved by proper initialization of ath_hw in
ath9k_init_priv.

Signed-off-by: Marek Puzyniak <marek.puzyniak@tieto.com>
Acked-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c