From 3ad19f208c1079754a8560996259a995a3c0546e Mon Sep 17 00:00:00 2001 From: Jean-Yves Avenard Date: Sun, 24 Jun 2012 17:43:42 +1000 Subject: [PATCH] Fix overidden mac address not being saved. The multi-SSID commit changed the behaviour of the wl_hwaddr settings. It was being reset during each boot. [cherry-picked from f7ad0efad5e18a7f0361ac669443d5537171aea2] --- release/src/router/rc/init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/release/src/router/rc/init.c b/release/src/router/rc/init.c index c75dee8b82..e2727ef790 100644 --- a/release/src/router/rc/init.c +++ b/release/src/router/rc/init.c @@ -1203,8 +1203,6 @@ static int init_nvram(void) #endif } - nvram_set("wl_hwaddr", ""); // zzz- when disabling wireless, we must get null wireless mac ?? - //!!TB - do not force country code here to allow nvram override //nvram_set("wl_country", "JP"); //nvram_set("wl_country_code", "JP"); -- 2.11.4.GIT