ath9k: Fix build error in ath_reset_internal
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Fri, 20 Jun 2014 17:17:49 +0000 (22:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 20 Jun 2014 18:13:46 +0000 (14:13 -0400)
commitd6067f0e17eb1de7d9b1d792f67d17c6e894b770
treeca719665fa6e20e381bc80c3f21ec6bae91fff87
parent418378fed0506b5ec0b43c03bc11929ec1f88073
ath9k: Fix build error in ath_reset_internal

drivers/net/wireless/ath/ath9k/main.c:299 ath_reset_internal()
error: we previously assumed 'hchan' could be null (see line 293)

Cc: Felix Fietkau <nbd@openwrt.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c