about summary refs log tree commit diff stats
path: root/utils
diff options
context:
space:
mode:
authorMarc <foxtrot@malloc.me>2022-01-09 16:00:19 +0000
committerMarc <foxtrot@malloc.me>2022-01-09 16:00:19 +0000
commit1d9f81ab8641c5fb1f46d16081c8b320998c70ec (patch)
tree0b131b4310ccde74d53ad07b6897c32454a640ba /utils
parent0bd924735125b34b74c893936b89cfae02e3379d (diff)
downloadlibwifi-1d9f81ab8641c5fb1f46d16081c8b320998c70ec.tar.gz
libwifi-1d9f81ab8641c5fb1f46d16081c8b320998c70ec.tar.bz2
libwifi-1d9f81ab8641c5fb1f46d16081c8b320998c70ec.zip
core: Fix tag_iterator failure on empty tags.
This code used to be `< 0`, but was changed to `<= 0` in commit d40ddfe.

Thinking more about this, it's a bad idea to abort on 0 length tags,
since it's completely valid for some tags (such as SSID) to be empty. It
doesn't make sense to check if `tag_len` is below 0, because it's
unsigned.

So, remove the check completely.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions