need to adjust htinfo offset when csa is inserted

This commit is contained in:
Sam Leffler 2009-03-26 19:06:00 +00:00
parent 92e870ed4d
commit d01b3c2603
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190449

View File

@ -2712,6 +2712,7 @@ ieee80211_beacon_update(struct ieee80211_node *ni,
if (vap->iv_csa_count == 0) {
memmove(&csa[1], csa, bo->bo_csa_trailer_len);
bo->bo_erp += sizeof(*csa);
bo->bo_htinfo += sizeof(*csa);
bo->bo_wme += sizeof(*csa);
#ifdef IEEE80211_TDMA_SUPPORT
bo->bo_tdma += sizeof(*csa);