ath10k: fix config_enabled check for hwmon
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Tue, 13 Jan 2015 08:51:45 +0000 (14:21 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Jan 2015 14:23:28 +0000 (16:23 +0200)
commita4031afbdc7bfdf26b98b160a5fca05b9cf38140
tree2e3c8ddc64f297b41fbb2d94973dd178dc66766d
parent5de6dfc82f715b9fe9cf5c0cccce4384a82279ef
ath10k: fix config_enabled check for hwmon

Because of wrong macro check in commit 96bba98393f9 ("ath10k: fix build error
when hwmon is off"), hwmon never be enabled. Fix that.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/thermal.c