|
@@ -1,9 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
- * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
|
|
- *
|
|
|
- *
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
|
* above copyright notice and this permission notice appear in all
|
|
@@ -19,12 +16,6 @@
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
*/
|
|
|
|
|
|
-/*
|
|
|
- * This file was originally distributed by Qualcomm Atheros, Inc.
|
|
|
- * under proprietary terms before Copyright ownership was assigned
|
|
|
- * to the Linux Foundation.
|
|
|
- */
|
|
|
-
|
|
|
/*
|
|
|
* \file dot11f.c
|
|
|
*
|
|
@@ -33,7 +24,7 @@
|
|
|
*
|
|
|
*
|
|
|
* This file was automatically generated by 'framesc'
|
|
|
- * Fri Apr 27 16:11:55 2018 from the following file(s):
|
|
|
+ * Thu May 10 17:05:13 2018 from the following file(s):
|
|
|
*
|
|
|
* dot11f.frms
|
|
|
*
|
|
@@ -306,7 +297,8 @@ static const tIEDefn *find_ie_defn(tpAniSirGlobal pCtx,
|
|
|
while (0xff != pIe->eid || pIe->extn_eid) {
|
|
|
if (*pBuf == pIe->eid) {
|
|
|
if (pIe->eid == 0xff) {
|
|
|
- if ((*(pBuf + 2)) == pIe->extn_eid)
|
|
|
+ if ((nBuf > 2) &&
|
|
|
+ (*(pBuf + 2)) == pIe->extn_eid)
|
|
|
return pIe;
|
|
|
} else {
|
|
|
if (0 == pIe->noui)
|