]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WNM: Print unsupported neighbor report subelements in debug log
authorChaoli Zhou <quic_zchaoli@quicinc.com>
Tue, 11 Oct 2022 10:57:44 +0000 (18:57 +0800)
committerJouni Malinen <j@w1.fi>
Fri, 14 Oct 2022 13:14:47 +0000 (16:14 +0300)
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>
wpa_supplicant/wnm_sta.c

index a00a2c5381f7d5013d0ce0c86354d15d0f76748e..ac0dd1aa046b5208621a85d349aed2cb410e1a81 100644 (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;
        }
 }