]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP MLD: Add debug print on link reconfig resp MLE addition error
authorJouni Malinen <jouni.malinen@oss.qualcomm.com>
Thu, 19 Jun 2025 20:05:41 +0000 (23:05 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 19 Jun 2025 20:33:50 +0000 (23:33 +0300)
Make it clearer if this error case happens similar to the other error
cases.

Signed-off-by: Jouni Malinen <jouni.malinen@oss.qualcomm.com>
src/ap/ieee802_11_eht.c

index 6b844e4bfd1de0be718db8c80558f0b6d9a81b85..3f4d067357267b3e37c712e238ca0a0c65de6164 100644 (file)
@@ -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;
                }