]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: Drop WARN_ON()s that always trigger during system resume
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 3 Mar 2019 17:24:33 +0000 (18:24 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 29 Apr 2019 14:26:14 +0000 (17:26 +0300)
commit582bc72885930ba53689e17d867f6157f2048056
tree21859af8d0bb7649be397c25195c9ad21d82c7bd
parentc2f729acfe21f21f0bea393ac05244c7ed7c2f5f
ath10k: Drop WARN_ON()s that always trigger during system resume

ath10k_mac_vif_chan() always returns an error for the given vif
during system-wide resume which reliably triggers two WARN_ON()s
in ath10k_bss_info_changed() and they are not particularly
useful in that code path, so drop them.

Tested: QCA6174 hw3.2 PCI with WLAN.RM.2.0-00180-QCARMSWPZ-1
Tested: QCA6174 hw3.2 SDIO with WLAN.RMH.4.4.1-00007-QCARMSWP-1

Fixes: b10c14d958cb ("ath10k: support for multicast rate control")
Fixes: 48f303092c5a ("ath10k: add support for configuring management packet rate")
Cc: stable@vger.kernel.org
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Tested-by: Claire Chang <tientzu@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c