Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b819f6c authored by Bertold Van den Bergh's avatar Bertold Van den Bergh Committed by Johannes Berg
Browse files

mac80211: Make OCB mode set BSSID



Perform the BSS_CHANGED_BSSID action when joining an OCB network.
This is required to set the broadcast BSSID in some network drivers.

Signed-off-by: default avatarBertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent cc117298
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ int ieee80211_ocb_join(struct ieee80211_sub_if_data *sdata,
{
	struct ieee80211_local *local = sdata->local;
	struct ieee80211_if_ocb *ifocb = &sdata->u.ocb;
	u32 changed = BSS_CHANGED_OCB;
	u32 changed = BSS_CHANGED_OCB | BSS_CHANGED_BSSID;
	int err;

	if (ifocb->joined == true)