| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Not very pretty, but it's also not so bad. Alternative is a huge array
or a super ugly macro hack.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This commit also enforces error code checking on functions inside of
the generation functions, such as for `libwifi_quick_add_tag`.
|
|
|
|
| |
This commit also corrects a small warning for gcc.
|
|
Signed-off-by: Marc <foxtrot@malloc.me>
|