summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-24 00:53:15 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-24 00:53:15 +0000
commitd5fe87e0d506152677c0d94e2fc2b891d8a89f82 (patch)
tree0f2b3f534464c4386c6c2df4f291d36bbe8920d7 /package/mac80211/patches/862-brcmsmac-remove-brcms_bss_cfg-BSS.patch
parent6bec936be9b26d892c5ee6aa693a60d3f96db100 (diff)
mac80211: update brcmsmac ap patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36113 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch10
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);
}