From: Chaoli Zhou Date: Tue, 11 Oct 2022 10:57:44 +0000 (+0800) Subject: WNM: Print unsupported neighbor report subelements in debug log X-Git-Tag: hostap_2_11~1654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5607abe2e855e3c792ba4e8560b29838487108e1;p=thirdparty%2Fhostap.git WNM: Print unsupported neighbor report subelements in debug log This can be helpful in trying to figure out what might need to be added in the future. Signed-off-by: Chaoli Zhou --- diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c index a00a2c538..ac0dd1aa0 100644 --- a/wpa_supplicant/wnm_sta.c +++ b/wpa_supplicant/wnm_sta.c @@ -524,6 +524,11 @@ static void wnm_parse_neighbor_report_elem(struct neighbor_report *rep, rep->mul_bssid->subelem_len = elen - 1; os_memcpy(rep->mul_bssid->subelems, pos + 1, elen - 1); break; + default: + wpa_printf(MSG_DEBUG, + "WNM: Unsupported neighbor report subelement id %u", + id); + break; } }