summaryrefslogtreecommitdiff
path: root/net/mac80211/ocb.c
diff options
context:
space:
mode:
authorBertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>2015-08-05 16:02:50 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-08-14 17:49:49 +0200
commit4b819f6cc4221ea6dd250e006f7b9ab0f6c71b45 (patch)
treea4f9d76a208d085b7af51ab39517c090083b5614 /net/mac80211/ocb.c
parentcc11729893558b374316e6142dc383f0508436c8 (diff)
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: Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ocb.c')
-rw-r--r--net/mac80211/ocb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ocb.c b/net/mac80211/ocb.c
index 358d5f9d8207..573b81a1fb2d 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)