mac80211: restore mac80211_interface_cleanup()
authorDaniel Golle <daniel@makrotopia.org>
Thu, 14 Nov 2019 13:02:56 +0000 (14:02 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 14 Nov 2019 13:10:58 +0000 (14:10 +0100)
commit000b7687bc50be5b0f1161f4bf8ceb85c495c395
tree84da1e302e1bb4720bbfc99629ec99258d1ea88a
parentb496a2294c6e663a2dcbf08d714443e758d1269d
mac80211: restore mac80211_interface_cleanup()

Changes introduced for dynamic wifi reconfiguration left behind
unmanaged interface types. Restore parts of the old function to
also clean (unencrypted, non-DFS) mesh and ad-hoc interfaces.

Fixes: a5bc9787d4 ("mac80211: add support for dynamically
                    reconfiguring wifi")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh