diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 0f9446ab7e4f7a8715373bc521bc0538e391413a..3162f955f3ae26b6a98c4e59140af44a776afb3e 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c @@ -923,6 +923,7 @@ void ieee80211_stop_mesh(struct ieee80211_sub_if_data *sdata) /* flush STAs and mpaths on this iface */ sta_info_flush(sdata); + ieee80211_free_keys(sdata, true); mesh_path_flush_by_iface(sdata); /* stop the beacon */