wlantest: Fix bip_protect() memory allocation
The addition operator is of higher precedence than the ternary conditional and the construction here needs to use parentheses to calculate the buffer length properly when generating test frames with BIP protection. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>master
parent
c6c29be1bd
commit
9231c2476f
Loading…
Reference in New Issue