From: Jouni Malinen Date: Thu, 19 Jun 2025 20:05:41 +0000 (+0300) Subject: AP MLD: Add debug print on link reconfig resp MLE addition error X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d754434fa4cdbc373113e2f34cec2ac1a91a9232;p=thirdparty%2Fhostap.git AP MLD: Add debug print on link reconfig resp MLE addition error Make it clearer if this error case happens similar to the other error cases. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/ieee802_11_eht.c b/src/ap/ieee802_11_eht.c index 6b844e4bf..3f4d06735 100644 --- a/src/ap/ieee802_11_eht.c +++ b/src/ap/ieee802_11_eht.c @@ -2037,6 +2037,9 @@ hostapd_send_link_reconf_resp(struct hostapd_data *hapd, mle_pos = hostapd_eid_eht_basic_ml_common(hapd, mle_pos, &mld, false, true); if ((size_t) (mle_pos - pos) != mle_len) { + wpa_printf(MSG_DEBUG, + "MLD: Unexpected MLE length: %ld != %zu", + mle_pos - pos, mle_len); reject_all = true; goto reject_all_req; }