]> git.ipfire.org Git - thirdparty/hostap.git/commit
ctrl_iface: Fix newline in print_ml()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 22 Dec 2023 10:06:09 +0000 (12:06 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 22 Dec 2023 15:14:33 +0000 (17:14 +0200)
commit41e65efa3a4470ba78f4ddeef800589fe44b43eb
tree4aebf4cf36b4b2c455173df7d0449e893ab27347
parenta3a34c0eb1ecf1c26bddbf36a6e421504f2d917e
ctrl_iface: Fix newline in print_ml()

We only print the newline if the AP MLD ID is present
(BASIC_MULTI_LINK_CTRL_PRES_AP_MLD_ID), fix that.

Fixes: e3e68668c1f6 ("ctrl_iface: Report RNR and ML in BSS command")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
wpa_supplicant/ctrl_iface.c