[PATCH] ath10k: dont call csa_finish more than once

Johannes Berg johannes at sipsolutions.net
Fri Mar 21 10:17:20 EDT 2014


On Fri, 2014-03-21 at 15:02 +0100, Michal Kazior wrote:
> Driver is supposed to call it only once for each
> scheduled channel_switch_beacon().
> 
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
> ---
> This is required for multi-vif csa but since that
> isn't merged yet I'm not including any specifics
> in the commit log itself.
> 
> Preventing multiple ieee80211_csa_finish() calls
> sounds like a good idea in general to me.

Didn't we have this discussion on the hwsim patch before?

I'd argue that if all drivers must track this, then the mac80211 API is
defective.

johannes




More information about the ath10k mailing list