Commit 1861b845 authored by Johannes Berg's avatar Johannes Berg

mac80211: simplify AP interface stop

For AP interfaces, there's no need to flush stations
or keys again when the interface is stopped as already
happened when the BSS was stopped on the interface.
Signed-off-by: default avatarJohannes Berg <>
parent 7b4396bd
......@@ -836,14 +836,16 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
* Free all remaining keys, there shouldn't be any,
* except maybe in WDS mode?
/* fall through */
case NL80211_IFTYPE_AP:
drv_remove_interface_debugfs(local, sdata);
if (going_down)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment