mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
e70a241f34
The country IE can sometimes have a zero pad byte at the end for alignment. This was not being checked for which caused the loop to go past the end of the IE and print an entry for channel 0 (the pad byte) plus some garbage data. Fix this by checking for the pad byte explicitly which skips the print and terminates the loop. |
||
---|---|---|
.. | ||
display.c | ||
display.h | ||
iwmon.rst | ||
main.c | ||
nlmon.c | ||
nlmon.h | ||
pcap.c | ||
pcap.h |