Skip to content

Commit

Permalink
mac80211: fix set wifi macaddr to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Aug 11, 2022
1 parent fb9d9f6 commit af1f124
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af1f124

Please sign in to comment.