summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 40ce393..9b6ef82 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1630,7 +1630,7 @@ EOD;
$baseif_mac = get_interface_mac($baseif);
$if_bssid = get_interface_bssid($if);
if(!is_macaddr($if_bssid)) {
- $if_bssid = $baseif_mac;
+ $if_bssid = get_interface_mac($if);
}
/* XXX: Workaround because hostapd won't properly detect BSSID of
* clone interfaces and uses base interface's MAC instead
OpenPOWER on IntegriCloud