[PATCH] DBus: add ANQP fields to BSS properties

Jouni Malinen j at w1.fi
Sat Mar 9 09:04:37 PST 2024


On Mon, Feb 26, 2024 at 04:32:41PM +0000, Damien Dejean wrote:
> Add ANQP fields to the BSS properties to allow DBus clients to be
> notified and obtain the values when it changes.

Thanks, applied with some cleanup and a fix.

> diff --git a/wpa_supplicant/interworking.c b/wpa_supplicant/interworking.c
> @@ -3198,6 +3198,7 @@ void anqp_resp_cb(void *ctx, const u8 *dst, u8 dialog_token,

>  out_parse_done:
> +	wpas_notify_bss_anqp_changed(wpa_s, bss->id);

That can trigger a segfault since bss might be NULL here. One of the
automated test cases (gas_anqp_get_no_scan) found this.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list