hostapd: fix phy parameter in iface_update_supplicant_macaddr
authorFelix Fietkau <[email protected]>
Thu, 13 Nov 2025 12:02:43 +0000 (12:02 +0000)
committerFelix Fietkau <[email protected]>
Thu, 13 Nov 2025 12:02:55 +0000 (12:02 +0000)
commite81936f5bc140292833111d455df53e28c39da64
tree51acfda53e8afcd954e26801b763f5a51b6117a8
parent75791ea634beb422dae5bef6bfadc7a15e9993c6
hostapd: fix phy parameter in iface_update_supplicant_macaddr

The function was using phydev.name (e.g., "phy0.0") instead of
phydev.phy (e.g., "phy0") when calling wpa_supplicant.phy_set_macaddr_list.
This is inconsistent with all other wpa_supplicant ubus calls in the same
file which correctly use phydev.phy.

Reported-by: Michael-cy Lee (李峻宇) <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
package/network/services/hostapd/files/hostapd.uc