]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: don't call quiet mode if it's not implemented
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 24 Mar 2015 12:40:17 +0000 (12:40 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 1 Apr 2015 17:21:17 +0000 (20:21 +0300)
commit8e34ff6ef3a2cecdae3e4293f71e32c6d45548ae
tree53b11ed6fe6b87b1d3766aee23bef97f6ab1f9c9
parentc77e3b0d8ddae4327c6ee5aac50eccba56e6e095
ath10k: don't call quiet mode if it's not implemented

qca6174 and wmi-tlv doesn't have quiet mode
implemented. Don't even attempt to call it. This
fixes a warning when bringing first interface up:

  failed to set quiet mode period 100 duarion 0 enabled 0 ret -95

Fixes: 236737ae6e74 ("ath10k: configure thermal throttle while powering up")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/thermal.c