]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: scan: replace passed ie buffer with ie context
authorDylan Eskew <dylan.eskew@candelatech.com>
Fri, 22 Nov 2024 16:18:51 +0000 (08:18 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Dec 2024 09:54:12 +0000 (10:54 +0100)
commita0a7ddef29fc412cee7e3ca027905218b145a40f
tree050dd78563ba9390634c6ba0df03a1dbd52fcfd8
parent7bc2a84438c56925b716e5c5db6d5e83ee45ef6b
iw: scan: replace passed ie buffer with ie context

Since some ies require references to other ies, parse
the ie list once before to create a context and prevent
parsing more than the two times required.

Signed-off-by: Dylan Eskew <dylan.eskew@candelatech.com>
Link: https://patch.msgid.link/20241122161851.647214-1-dylan.eskew@candelatech.com
[cleanups]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
scan.c