mac80211: call drv_ibss_join() on restart
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Feb 2019 11:17:12 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 19:09:44 +0000 (20:09 +0100)
commitbff33ba4f9ca12110a35da806c2a4a21a6e90cf1
treecc9ef82a0c57e52cd7b06d64959534582966c858
parent134891e124dac25020a234fd376e4117d05922e1
mac80211: call drv_ibss_join() on restart

[ Upstream commit 4926b51bfaa6d36bd6f398fb7698679d3962e19d ]

If a driver does any significant activity in its ibss_join method,
then it will very well expect that to be called during restart,
before any stations are added. Do that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/util.c