]> git.ipfire.org Git - thirdparty/hostap.git/commit
Do not try to start/join RSN IBSS without CONFIG_IBSS_RSN=y
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 28 Oct 2016 16:33:20 +0000 (19:33 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 28 Oct 2016 16:33:20 +0000 (19:33 +0300)
commit81a10a944232f27c5a58d60131f96b2e10145e6d
treea798a3175ed6061cd38b0125839d33f5230ded29
parentea06a08f85fa95e75d47acad769cd07c1779f4e6
Do not try to start/join RSN IBSS without CONFIG_IBSS_RSN=y

Previously, a build without IBSS RSN support tried to start/join an IBSS
even if the profile was configured with RSN parameters. This does not
work and resulted in quite confusing debug log. Make this clearer by
explicitly checking for this case and reject the connection attempt with
a clearer debug log entry instead of trying something that is known to
fail.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c