summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Rawat <naveenrawat@codeaurora.org>2017-02-08 15:55:49 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-09 15:48:20 -0800
commit009caaf84160ff8e9e88d0fd43014d072cd44b96 (patch)
treea9d9c0f224c79d4e2c9b12100141f2037b479c64
parent6f48319a69171c47f3ca87701e93d6ce2d478a15 (diff)
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
-rw-r--r--core/sme/src/common/sme_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index 5a602054f10c..99b35ce8e2a4 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -17301,7 +17301,7 @@ QDF_STATUS sme_get_rcpi(tHalHandle hal, struct sme_rcpi_req *rcpi)
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;