]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ath10k: avoid leaving .bss_info_changed prematurely
authorSven Eckelmann <seckelmann@datto.com>
Wed, 3 Jul 2019 14:19:49 +0000 (16:19 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Sep 2019 14:05:01 +0000 (17:05 +0300)
commit0227ff3656f2c68b44002de0a17cec56cbdac631
tree541875c42d203772c864754db3817de21c5a9184
parentf93bcf0ce6a144174292716f9a79330567a778b6
ath10k: avoid leaving .bss_info_changed prematurely

ath10k_bss_info_changed() handles various events from the upper layers. It
parses the changed bitfield and then configures the driver/firmware
accordingly. Each detected event is handled in a separate scope which is
independent of each other - but in the same function.

The commit f279294e9ee2 ("ath10k: add support for configuring management
packet rate") changed this behavior by returning from this function
prematurely when some precondition was not fulfilled. All new event
handlers added after the BSS_CHANGED_BASIC_RATES event handler would then
also be skipped.

Signed-off-by: Sven Eckelmann <seckelmann@datto.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c