ASR_BASE

Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/target/linux/mmp/base-files/sbin/wlan-del-mac b/target/linux/mmp/base-files/sbin/wlan-del-mac
new file mode 100755
index 0000000..81fb8fd
--- /dev/null
+++ b/target/linux/mmp/base-files/sbin/wlan-del-mac
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Copyright (C) 2010-2018 OpenWrt.org
+. /lib/functions.sh
+
+wlan_remove_macaddr() {
+	local macaddr
+
+	config_get macaddr $1 macaddr
+	[ -n "$macaddr" ] && {
+		uci_remove wireless $1 macaddr
+	}
+}
+
+[ -s /etc/config/wireless ] || return 0
+
+config_load wireless
+config_foreach wlan_remove_macaddr wifi-iface
+uci_commit wireless