Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cf8767dd authored by Michal Kazior's avatar Michal Kazior Committed by Johannes Berg
Browse files

mac80211: disconnect iface if CSA unexpectedly fails



It doesn't make much sense to leave a crippled
interface running.

As a side effect this will unblock tx queues with
CSA reason immediately after failure instead of
until after userspace requests interface to stop.

This also gives userspace an opportunity to
indirectly see CSA failure.

Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
[small code cleanup]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 771bb3dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment