diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 0263a67aa..d35b4e3b5 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -739,7 +739,8 @@ mac80211_prepare_vif() { ;; esac - if [ "$mode" != "ap" ]; then + # We do not set hostpad macaddr if it is 00:00:00:00:00:00 + if [ "$mode" != "ap" ] && [ "$macaddr" != "00:00:00:00:00:00" ]; then # ALL ap functionality will be passed to hostapd # All interfaces must have unique mac addresses # which can either be explicitly set in the device