mac80211: free peer keys before vif down in mesh
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Tue, 28 May 2019 23:36:16 +0000 (16:36 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 May 2019 09:10:15 +0000 (11:10 +0200)
commit0112fa557c3bb3a002bc85760dc3761d737264d3
tree13bc216e87c32b11731ce6d2b8c68d6f7448ffc9
parent551842446ed695641a00782cd118cbb064a416a1
mac80211: free peer keys before vif down in mesh

freeing peer keys after vif down is resulting in peer key uninstall
to fail due to interface lookup failure. so fix that.

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c