mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
ie: add macro for calculating an IE's length
All over the place we do "ie[1] + 2" for getting the IE length. It is much clearer to use a macro to do this. The macro also checks for NULL, and returns zero in this case.
This commit is contained in:
parent
c18b1289a5
commit
922e10e82c
Loading…
Reference in New Issue
Block a user