android_kernel_xiaomi_sm8350/core
Krunal Soni 2f5e3dd670 qcacld-3.0: Exclude length field size from max beacon payload size
Don't account length field size while comparing against max
beacon size.

Current driver starts from (ptr+4 bytes) then tries to copy
512 bytes from that point which creates to copy extra 4 bytes
beyond the array's boundary.

Instead copy only 508 bytes if driver starts copying from
(ptr+ 4bytes).

 ptr
  ^
  |
  |
  +---------------+--------------------------------+
  |               |                                |
  |  Length       |   Max Beacon payload           |
  |               |                                |
  +---------------+--------------------------------+

  |<-- 4 bytes -->|<-------- 508 bytes ----------->|

  |<-------------  512 bytes --------------------->|

CRs-Fixed: 2327052
Change-Id: I2646986ec424f7da31107ad01f673588734eaa52
2018-10-08 18:02:33 -07:00
..
bmi qcacld-3.0: check the data length when downloading firmware 2018-09-18 01:02:55 -07:00
cds qcacld-3.0: Add IPA CFG items and APIs 2018-10-05 19:58:00 -07:00
dp qcacld-3.0: Remove console logging for ol_txrx_peer_get_ref 2018-10-01 13:24:32 -07:00
hdd qcacld-3.0: Add MLME CFG items of rates [PART 2] 2018-10-08 05:26:35 -07:00
mac Release 5.2.0.100K 2018-10-08 12:08:03 -07:00
pld qcacld-3.0: Handle FW rejuvenate scenario 2018-10-04 08:13:09 -07:00
sap qcacld-3.0: Refactor CFG_ENABLE_DFS_MASTER_CAPABILITY cfg 2018-10-04 22:52:51 -07:00
sme qcacld-3.0: Add MLME CFG items of rates [PART 2] 2018-10-08 05:26:35 -07:00
wma qcacld-3.0: Exclude length field size from max beacon payload size 2018-10-08 18:02:33 -07:00