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 <quic_zchaoli@quicinc.com>
This commit is contained in:
Chaoli Zhou 2022-10-11 18:57:44 +08:00 committed by Jouni Malinen
parent fcdd76fa28
commit 5607abe2e8

View file

@ -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;
}
}