linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 5/5] mac80211: Make OCB mode set BSSID
@ 2015-08-05 14:02 Bertold Van den Bergh
  2015-08-13 12:02 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Bertold Van den Bergh @ 2015-08-05 14:02 UTC (permalink / raw)
  To: johannes, linux-wireless; +Cc: Bertold Van den Bergh

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: Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>
---
 net/mac80211/ocb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mac80211/ocb.c b/net/mac80211/ocb.c
index 358d5f9..573b81a 100644
--- a/net/mac80211/ocb.c
+++ b/net/mac80211/ocb.c
@@ -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)
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 5/5] mac80211: Make OCB mode set BSSID
  2015-08-05 14:02 [PATCH 5/5] mac80211: Make OCB mode set BSSID Bertold Van den Bergh
@ 2015-08-13 12:02 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2015-08-13 12:02 UTC (permalink / raw)
  To: Bertold Van den Bergh, linux-wireless

On Wed, 2015-08-05 at 16:02 +0200, Bertold Van den Bergh wrote:
> Perform the BSS_CHANGED_BSSID action when joining an OCB network.
> This is required to set the broadcast BSSID in some network drivers.
> 
Also applied 4 and 5.

johannes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-13 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 14:02 [PATCH 5/5] mac80211: Make OCB mode set BSSID Bertold Van den Bergh
2015-08-13 12:02 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).