diff options
author | Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be> | 2015-08-05 16:02:50 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-08-14 17:49:49 +0200 |
commit | 4b819f6cc4221ea6dd250e006f7b9ab0f6c71b45 (patch) | |
tree | a4f9d76a208d085b7af51ab39517c090083b5614 /net/mac80211/ocb.c | |
parent | mac80211: Only accept data frames in OCB mode (diff) | |
download | linux-4b819f6cc4221ea6dd250e006f7b9ab0f6c71b45.tar.xz linux-4b819f6cc4221ea6dd250e006f7b9ab0f6c71b45.zip |
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.c | 2 |
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) |