aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorHanumanth Reddy Pothula <c_hpothu@codeaurora.org>2018-05-31 13:28:51 +0530
committerHanumanth Reddy Pothula <c_hpothu@codeaurora.org>2018-05-31 13:32:32 +0530
commit33548e2569bb8a4b47c698c41ebd66f3a0efb770 (patch)
tree061d542c80d9a2a1823704ed719c1510758ec4b2 /net/lapb/lapb_timer.c
parent4c6d859a92d75a59ced6b9059cb8113c1084f49f (diff)
wlan: Use proper length to send the beacon/probe to kernel
propagation from qcacld-3.0 to prima. Currently sizeof(struct ieee80211_mgmt) + IE len is used to calculate the total frame length to send the beacon/probe to kernel. struct ieee80211_mgmt contains union to define different frames and thus the sizeof(struct ieee80211_mgmt) may give extra length for beacon/probe if any of the union size is greater than the probe/beacon union size. This result in trail of zeroes at the end of the frame. To fix this use sizeof(mgmt_mac_header) + SIR_MAC_B_PR_SSID_OFFSET + ie len to determine the exact size of the frame. Change-Id: I71e94b111f36fcd4060befcae282f1fcce5e17f1 CRs-Fixed: 2251716
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions