diff options
Diffstat (limited to 'package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch')
-rw-r--r-- | package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch b/package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch index a7ffcf6a78..1fafd63a28 100644 --- a/package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch +++ b/package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch @@ -39,21 +39,23 @@ brcms_err(wlc->hw->d11core, "wl%d: up: rfdisable -> " "bsscfg_disable()\n", -@@ -7390,7 +7383,7 @@ void brcms_c_update_beacon(struct brcms_ +@@ -7390,7 +7383,8 @@ void brcms_c_update_beacon(struct brcms_ { struct brcms_bss_cfg *bsscfg = wlc->bsscfg; - if (bsscfg->up && !bsscfg->BSS) -+ if (bsscfg->up && bsscfg->type == BRCMS_TYPE_AP) ++ if (bsscfg->up && (bsscfg->type == BRCMS_TYPE_AP || ++ bsscfg->type == BRCMS_TYPE_ADHOC)) /* Clear the soft intmask */ wlc->defmacintmask &= ~MI_BCNTPL; } -@@ -7465,7 +7458,7 @@ void brcms_c_update_probe_resp(struct br +@@ -7465,7 +7459,8 @@ void brcms_c_update_probe_resp(struct br struct brcms_bss_cfg *bsscfg = wlc->bsscfg; /* update AP or IBSS probe responses */ - if (bsscfg->up && !bsscfg->BSS) -+ if (bsscfg->up && bsscfg->type == BRCMS_TYPE_AP) ++ if (bsscfg->up && (bsscfg->type == BRCMS_TYPE_AP || ++ bsscfg->type == BRCMS_TYPE_ADHOC)) brcms_c_bss_update_probe_resp(wlc, bsscfg, suspend); } |