mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
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>
This commit is contained in:
parent
cc11729893
commit
4b819f6cc4
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ int ieee80211_ocb_join(struct ieee80211_sub_if_data *sdata,
|
||||||
{
|
{
|
||||||
struct ieee80211_local *local = sdata->local;
|
struct ieee80211_local *local = sdata->local;
|
||||||
struct ieee80211_if_ocb *ifocb = &sdata->u.ocb;
|
struct ieee80211_if_ocb *ifocb = &sdata->u.ocb;
|
||||||
u32 changed = BSS_CHANGED_OCB;
|
u32 changed = BSS_CHANGED_OCB | BSS_CHANGED_BSSID;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (ifocb->joined == true)
|
if (ifocb->joined == true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue