qcacld-3.0: Fix the ie_len while creating beacon frame

In function sme_prepare_beacon_from_bss_descp, ie_len was storing
uint32_t into uint8_t which was causing beacon frame buffer to be
filled partially. Change the ie_len argument to uint32_t

Change-Id: Ia94dbd6e280579fe1621863b0e8f6ba4e13d10ed
CRs-Fixed: 2004265
This commit is contained in:
Naveen Rawat 2017-02-08 15:55:49 -08:00 • committed by Sandeep Puligilla
commit 6dabf4ea38

View file

@ -16084,7 +16084,7 @@ QDF_STATUS sme_set_wow_pulse(struct wow_pulse_mode *wow_pulse_set_info)
static void sme_prepare_beacon_from_bss_descp(uint8_t *frame_buf,
tSirBssDescription *bss_descp,
const tSirMacAddr bssid,
uint8_t ie_len)
uint32_t ie_len)
{
tDot11fBeacon1 *bcn_fixed;
tpSirMacMgmtHdr mac_hdr = (tpSirMacMgmtHdr)frame_buf;