mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mac80211: fix set wifi macaddr to zero
This commit is contained in:
parent
fb9d9f6dd9
commit
af1f124ef6
@ -739,7 +739,8 @@ mac80211_prepare_vif() {
|
|||||||
;;
|
;;
|
||||||
esac
|
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 ap functionality will be passed to hostapd
|
||||||
# All interfaces must have unique mac addresses
|
# All interfaces must have unique mac addresses
|
||||||
# which can either be explicitly set in the device
|
# which can either be explicitly set in the device
|
||||||
|
Loading…
Reference in New Issue
Block a user