diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-24 00:53:15 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-24 00:53:15 +0000 |
commit | c63149640d2849dc31e1b3b3e9602afb25d7b116 (patch) | |
tree | 0f2b3f534464c4386c6c2df4f291d36bbe8920d7 /package/mac80211/patches/871-brcmsmac-add-support-for-probe-response-template.patch | |
parent | 8b867fc2afbc74228433d08cb8acfbe304c52158 (diff) | |
download | upstream-c63149640d2849dc31e1b3b3e9602afb25d7b116.tar.gz upstream-c63149640d2849dc31e1b3b3e9602afb25d7b116.tar.bz2 upstream-c63149640d2849dc31e1b3b3e9602afb25d7b116.zip |
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/871-brcmsmac-add-support-for-probe-response-template.patch')
-rw-r--r-- | package/mac80211/patches/871-brcmsmac-add-support-for-probe-response-template.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/mac80211/patches/871-brcmsmac-add-support-for-probe-response-template.patch b/package/mac80211/patches/871-brcmsmac-add-support-for-probe-response-template.patch index 5d022d2b57..38d3648a8d 100644 --- a/package/mac80211/patches/871-brcmsmac-add-support-for-probe-response-template.patch +++ b/package/mac80211/patches/871-brcmsmac-add-support-for-probe-response-template.patch @@ -106,7 +106,7 @@ int brcms_c_get_header_len(void) { return TXOFF; -@@ -7530,6 +7469,20 @@ void brcms_c_set_new_beacon(struct brcms +@@ -7531,6 +7470,20 @@ void brcms_c_set_new_beacon(struct brcms brcms_c_update_beacon(wlc); } @@ -127,7 +127,7 @@ /* Write ssid into shared memory */ static void brcms_c_shm_ssid_upd(struct brcms_c_info *wlc, struct brcms_bss_cfg *cfg) -@@ -7549,30 +7502,19 @@ brcms_c_shm_ssid_upd(struct brcms_c_info +@@ -7550,30 +7503,19 @@ brcms_c_shm_ssid_upd(struct brcms_c_info static void brcms_c_bss_update_probe_resp(struct brcms_c_info *wlc, struct brcms_bss_cfg *cfg, @@ -162,7 +162,7 @@ /* write the length of the probe response frame (+PLCP/-FCS) */ brcms_b_write_shm(wlc->hw, M_PRB_RESP_FRM_LEN, (u16) len); -@@ -7586,13 +7528,11 @@ brcms_c_bss_update_probe_resp(struct brc +@@ -7587,13 +7529,11 @@ brcms_c_bss_update_probe_resp(struct brc * PLCP header for the call to brcms_c_mod_prb_rsp_rate_table() * by subtracting the PLCP len and adding the FCS. */ @@ -178,13 +178,13 @@ } void brcms_c_update_probe_resp(struct brcms_c_info *wlc, bool suspend) -@@ -7600,8 +7540,12 @@ void brcms_c_update_probe_resp(struct br - struct brcms_bss_cfg *bsscfg = wlc->bsscfg; +@@ -7602,8 +7542,12 @@ void brcms_c_update_probe_resp(struct br /* update AP or IBSS probe responses */ -- if (wlc->pub->up && bsscfg->type == BRCMS_TYPE_AP) + if (wlc->pub->up && (bsscfg->type == BRCMS_TYPE_AP || +- bsscfg->type == BRCMS_TYPE_ADHOC)) - brcms_c_bss_update_probe_resp(wlc, bsscfg, suspend); -+ if (wlc->pub->up && bsscfg->type == BRCMS_TYPE_AP) { ++ bsscfg->type == BRCMS_TYPE_ADHOC)) { + if (!wlc->probe_resp) + return; + brcms_c_bss_update_probe_resp(wlc, bsscfg, wlc->probe_resp, |