Fix Probe Request processing in wpa_supplicant AP mode
authorJouni Malinen <j@w1.fi>
Sun, 1 Apr 2012 18:27:12 +0000 (21:27 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 1 Apr 2012 18:27:12 +0000 (21:27 +0300)
Commit 2d43d37ff2c3115da812bec8ea4c72048e1194d8 broke EVENT_RX_MGMT
processing in wpa_supplicant AP mode. ap_mgmt_rx() needs to be called
for Probe Request frames even if they get notified through the new
D-Bus signal mechanism.

Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/events.c

index cd45cd1..79a4a55 100644 (file)
@@ -2349,7 +2349,6 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
                        wpas_notify_preq(wpa_s, mgmt->sa, mgmt->da,
                                         mgmt->bssid, ie, ie_len,
                                         data->rx_mgmt.ssi_signal);
-                       break;
                }
 
                ap_mgmt_rx(wpa_s, &data->rx_mgmt);