mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Update Non-TX beacon capabilities
Non-Tx beacon generated in driver contains TX beacon capabilities instead of capabilities advertised as part of non-TX profile in MBSSID IE. Copy the non-TX beacon capabilities from MBSSID IE profile to driver generated non-TX beacon. Change-Id: Iecf63b959176bac8d60055e6b77082a6f3ec117c CRs-Fixed: 2789394
This commit is contained in:
parent
e6cfbd1a77
commit
9021ccbdeb
1 changed files with 3 additions and 0 deletions
|
|
@ -1949,6 +1949,9 @@ static QDF_STATUS util_scan_parse_mbssid(struct wlan_objmgr_pdev *pdev,
|
|||
QDF_MAC_ADDR_SIZE);
|
||||
qdf_mem_copy(hdr->i_addr3, new_bssid,
|
||||
QDF_MAC_ADDR_SIZE);
|
||||
bcn = (struct wlan_bcn_frame *)(new_frame + sizeof(struct wlan_frame_hdr));
|
||||
/* update the non-tx capability */
|
||||
qdf_mem_copy(&bcn->capability, subelement + 4, 2);
|
||||
/* Copy the new ie generated from MBSSID profile*/
|
||||
qdf_mem_copy(new_frame +
|
||||
offsetof(struct wlan_bcn_frame, ie) +
|
||||
|
|
|
|||
Loading…
Reference in a new issue