]> git.ipfire.org Git - thirdparty/hostap.git/commit
Make eht_cap != NULL check explicit to help static analyzers
authorJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 10:03:40 +0000 (12:03 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 10:03:40 +0000 (12:03 +0200)
commita36577c828dddb4636c99d67c9a82f2b49292bc4
tree5461e7310cf7b55ce3d2f5c4165b883382870110
parent553e114e08c5522a722b8ef9657472105d266f5b
Make eht_cap != NULL check explicit to help static analyzers

data->eht_enabled was used to avoid getting here with eht_cap == NULL,
but that was too complex for some static analyzers. Make this more
explicit to avoid false reports.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/hw_features_common.c