Interworking: Don't filter probe requests when interworking is disabled
authorMaxime Bizon <mbizon@freebox.fr>
Wed, 23 Apr 2014 21:23:37 +0000 (23:23 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Apr 2014 09:15:32 +0000 (12:15 +0300)
commit2aa82e52da09211f6917be0fb268d12e99334e53
treee5e6e7ca258100a377dd3f26cd263d3b42a22d08
parent13f6a07efc3e737d8fcb8f7014cb961ce77e64ee
Interworking: Don't filter probe requests when interworking is disabled

With hidden SSID (ignore_broadcast_ssid), an IOS device trying to
connect to the AP will send a probe request with ANT == 2. If
interworking support is just compiled (not enabled), we will drop the
probe request since default ANT is 0.

Check that interworking is enabled before filtering based on ANT or
HESSID to match the behavior of code without CONFIG_INTERWORKING.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
src/ap/beacon.c