]> git.ipfire.org Git - thirdparty/hostap.git/commit
Verify that channel info is available in hostapd_hw_get_channel()
authorJouni Malinen <jouni@codeaurora.org>
Fri, 26 Apr 2019 13:17:59 +0000 (16:17 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 26 Apr 2019 13:17:59 +0000 (16:17 +0300)
commiteb314e8af2fa08f35e7787e2b6679df6138b3650
tree1240b423e704ddaa77b65cbd76507f893fa48b57
parentb9058266f01162cdc0720a0682d4f89e44cf054b
Verify that channel info is available in hostapd_hw_get_channel()

Unexpected CHAN_SWITCH command could get this function using a NULL
pointer if the channel switch was requested while the interface was
already disabled.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/hw_features.c