]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: free beacon buf later in vdev teardown
authorBen Greear <greearb@candelatech.com>
Tue, 10 Sep 2019 13:46:15 +0000 (16:46 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Sep 2019 14:48:08 +0000 (17:48 +0300)
commit7f2915c9f375466d585ecd5b98e89f551cb39823
tree98c1279a85320e621f423f643e27e23648434c4b
parentdf4039bd720701b62f1711c28b9cc948261a8838
ath10k: free beacon buf later in vdev teardown

My wave-1 firmware often crashes when I am bringing down
AP vdevs, and sometimes at least some machines lockup hard
after spewing IOMMU errors.

I don't see the same issue in STA mode, so I suspect beacons
are the issue.

Moving the beacon buf deletion to later in the vdev teardown
logic appears to help this problem.  Firmware still crashes
often, but several iterations did not show IOMMU errors and
machine didn't hang.

Tested hardware: QCA9880
Tested firmware: ath10k-ct from beginning of 2019, exact version unknown

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c