diff options
| author | Yehyeong Lee <yhlee@isslab.korea.ac.kr> | 2026-10-20 09:50:26 +0900 |
|---|---|---|
| committer | Jeff Chen <jeff.chen_1@nxp.com> | 2026-11-03 11:05:53 +0800 |
| commit | 1cb78390d1c6c7908ab9838238a702799e0f7e9f (patch) | |
| tree | 9c6fd64cfa037cbbd0cdccccc8c1220a4e3c7c05 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6a5cf549f4dcbd502db8cd00c5f49d20a2b9648f (diff) | |
wifi: nxpwifi: read the 11AX_CFG extension ID at the right offset
The send side writes the extension ID as the first payload byte of the
TLV in nxpwifi_cmd_11ax_cfg(), but nxpwifi_ret_11ax_cfg() reads it one
byte later and copies the HE capability from the same wrong offset. The
capability test runs on the wrong byte and the copy reads one byte past
the declared payload.
Read the extension ID and copy the capability from the first payload
byte. A zero-length extension TLV has no payload to read an extension ID
out of, so skip it.
Fixes: 73b01e57ed3e ("wifi: nxp: add nxpwifi driver for IW61x")
Cc: stable@vger.kernel.org
Signed-off-by: Yehyeong Lee <yhlee@isslab.korea.ac.kr>
Reviewed-by: Jeff Chen <jeff.chen_1@nxp.com>
Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
