Index: /src/router/services/networking/interface.c
===================================================================
--- /src/router/services/networking/interface.c	(revision 9123)
+++ /src/router/services/networking/interface.c	(revision 9124)
@@ -222,5 +222,10 @@
   s = socket (AF_INET, SOCK_RAW, IPPROTO_RAW);
   strcpy (mac, nvram_safe_get ("et0macaddr"));
-
+  int vlanswap=0;
+  int ast=0;
+  if (nvram_match("vlan1ports","4 5"))
+    vlanswap=1;
+  if (nvram_natch("vlan0ports","0 1 2 3 5*"))
+     ast=1;
 //  if (nvram_match ("trunking", "1"))
 //    system ("echo 1 > /proc/sys/dev/adm6996/trunk");
@@ -253,12 +258,23 @@
 		  {
 		    snprintf (buff, 9, "%d", tmp);
+		    eval ("vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD");
 		    eval ("vconfig", "add", "eth0", buff);
+		    snprintf (buff, 9, "vlan%d", i);
+		    ifconfig (buff, 0, NULL, NULL);
 		  }
-		sprintf ((char *) &portsettings[tmp][0], "%s %d",
-			 (char *) &portsettings[tmp][0], i);
+		 int use = i;
+		 if (i==0 && vlanswap==1)use = 4;
+		 else
+		 if (i==4 && vlanswap==1)use = 0;
+		    
+		  
+		 sprintf ((char *) &portsettings[tmp][0], "%s %d",
+			 (char *) &portsettings[tmp][0], use);
 	      }
 	    else
 	      {
-		if (tmp == 16)
+		if (tmp == 16 && ast)		
+		  strcat ((char *) &portsettings[lastvlan][0], "*");
+		if (tmp == 16 && !ast)		
 		  strcat ((char *) &portsettings[lastvlan][0], "t");
 		if (tmp == 17)
@@ -308,7 +324,18 @@
 	}
     }
+    /*
   for (i = 0; i < 16; i++)
     {
-      fprintf (stderr, "vlan setting %s\n", portsettings[i]);
+      sprintf (tmp, "echo "" > /proc/switch/eth0/vlan/%d/ports",i);
+      system2 (tmp);
+    }
+  for (i = 0; i < 16; i++)
+    {
+      sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/%d/ports",portsettings[i], i);
+      system2 (tmp);
+    }*/
+  for (i = 0; i < 16; i++)
+    {
+    fprintf(stderr,"echo %s > /proc/switch/eth0/vlan/%d/ports\n",portsettings[i], i);
     }
   return ret;
Index: /src/router/services/networking/network.c
===================================================================
--- /src/router/services/networking/network.c	(revision 9123)
+++ /src/router/services/networking/network.c	(revision 9124)
@@ -2431,12 +2431,12 @@
       if (!strncmp (pppoe_wan_ifname, "vlan", 4))
 	{
-	  sprintf (vlannic, "eth0.0007", pppoe_wan_ifname);
 	  if (nvram_match ("wan_vdsl", "1"))
 	    {
-	      enable_dtag_vlan (1);
+	      char *ifn=enable_dtag_vlan (1);
+	      sprintf (vlannic, "%s.0007", ifn);
 	      if (!ifexists (vlannic))
 		{
 		  eval ("vconfig", "set_name_type", "DEV_PLUS_VID");
-		  eval ("vconfig", "add", "eth0", "7");
+		  eval ("vconfig", "add", if, "7");
 		  eval ("ifconfig", vlannic, "up");
 		}
@@ -2445,5 +2445,6 @@
 	  else
 	    {
-	      enable_dtag_vlan (0);
+	      char *ifn=enable_dtag_vlan (0);
+	      sprintf (vlannic, "%s.0007", ifn);
 	      if (ifexists (vlannic))
 		eval ("vconfig", "rem", vlannic);
Index: /src/router/services/sysinit/defaults.c
===================================================================
--- /src/router/services/sysinit/defaults.c	(revision 9123)
+++ /src/router/services/sysinit/defaults.c	(revision 9124)
@@ -2264,17 +2264,17 @@
   {"reconnect_hours", "0", 0},
   {"reconnect_minutes", "0", 0},
-  {"af_enable","0",0},
-  {"af_email","",0},
-  {"af_ssid","0",0},
-  {"af_ssid_name","AnchorFree WiFi",0},
-  {"af_address","",0},
-  {"af_address_2","",0},
-  {"af_city","",0},
-  {"af_zip","",0},
-  {"af_state","",0},
-  {"af_country","",0},
-  {"af_category","0",0},
-  {"af_publish","1",0},
-  {"af_agree","0",0},
+  {"af_enable", "0", 0},
+  {"af_email", "", 0},
+  {"af_ssid", "0", 0},
+  {"af_ssid_name", "AnchorFree WiFi", 0},
+  {"af_address", "", 0},
+  {"af_address_2", "", 0},
+  {"af_city", "", 0},
+  {"af_zip", "", 0},
+  {"af_state", "", 0},
+  {"af_country", "", 0},
+  {"af_category", "0", 0},
+  {"af_publish", "1", 0},
+  {"af_agree", "0", 0},
   {0, 0, 0}
 };
Index: /src/router/services/sysinit/sysinit-broadcom.c
===================================================================
--- /src/router/services/sysinit/sysinit-broadcom.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-broadcom.c	(revision 9124)
@@ -1156,16 +1156,42 @@
 
 
-void
+char *
 enable_dtag_vlan (int enable)
 {
   char *vlan7ports = NULL;
-  vlan7ports="4t 5";
-  if (nvram_match("vlan1ports","4 5"))
-    {
-    vlan7ports="4t 5";
-    }
-  if (nvram_match("vlan1ports","0 5"))
-    {
-    vlan7ports="0t 5";
+  vlan7ports = "4t 5";
+  if (nvram_match ("vlan1ports", "4 5"))
+    {
+      vlan7ports = "4t 5";
+    }
+  if (nvram_match ("vlan1ports", "0 5"))
+    {
+      vlan7ports = "0t 5";
+    }
+  if (nvram_match ("vlan2ports", "0 8") || nvram_match ("vlan2ports", "0 8*"))
+    {
+      char *eth = "eth1";
+      vlan7ports = "0t 8";
+      char *save_ports2 = nvram_safe_get ("vlan2ports");
+      if (getRouterBrand () == ROUTER_WRT600N)
+	eth = "eth2";
+      if (enable)
+	{
+	  nvram_set ("vlan2ports", "");
+	  nvram_set ("vlan7ports", vlan7ports);
+	}
+      stop_lan ();
+      eval ("ifconfig", eth, "down");
+      eval ("rmmod", "bcm57xxlsys");
+      eval ("insmod", "bcm57xxlsys");
+      eval ("ifconfig", eth, "up");
+      start_config_vlan ();
+      start_lan ();
+      if (enable)
+	{
+	  nvram_set ("vlan2ports", save_ports2);
+	  nvram_set ("vlan7ports", "");
+	}
+      return eth;
     }
   system2 ("echo 1 > /proc/switch/eth0/reset");
@@ -1174,11 +1200,13 @@
   if (enable)
     {
-      sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/1/ports","");
+      sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/1/ports", "");
       system2 (tmp);
-      sprintf (tmp, "echo %s > /proc/switch/eth1/vlan/1/ports","");
+      sprintf (tmp, "echo %s > /proc/switch/eth1/vlan/1/ports", "");
       system2 (tmp);
-      sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/0/ports",nvram_safe_get ("vlan0ports"));
+      sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/0/ports",
+	       nvram_safe_get ("vlan0ports"));
       system2 (tmp);
-      sprintf (tmp, "echo %s > /proc/switch/eth1/vlan/0/ports",nvram_safe_get ("vlan0ports"));
+      sprintf (tmp, "echo %s > /proc/switch/eth1/vlan/0/ports",
+	       nvram_safe_get ("vlan0ports"));
       system2 (tmp);
       sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/7/ports", vlan7ports);
@@ -1192,9 +1220,7 @@
       for (i = 0; i < 16; i++)
 	{
-	  sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/%d/ports",
-		   "", i);
+	  sprintf (tmp, "echo %s > /proc/switch/eth0/vlan/%d/ports", "", i);
 	  system2 (tmp);
-	  sprintf (tmp, "echo %s > /proc/switch/eth1/vlan/%d/ports",
-		   "", i);
+	  sprintf (tmp, "echo %s > /proc/switch/eth1/vlan/%d/ports", "", i);
 	  system2 (tmp);
 	}
@@ -1213,8 +1239,13 @@
 	}
     }
-
+  FILE *in = fopen ("/proc/switch/eth0/reset", "rb");
+  if (in == NULL)
+    return "eth1";
+  fclose (in);
+  return "eth0";
 }
-start_dtag(void)
+
+start_dtag (void)
 {
-enable_dtag_vlan(1);
+  enable_dtag_vlan (1);
 }
Index: /src/router/services/sysinit/sysinit-ca8.c
===================================================================
--- /src/router/services/sysinit/sysinit-ca8.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-ca8.c	(revision 9124)
@@ -143,5 +143,6 @@
 }
 
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-dir300.c
===================================================================
--- /src/router/services/sysinit/sysinit-dir300.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-dir300.c	(revision 9124)
@@ -96,26 +96,26 @@
   FILE *fp = fopen ("/dev/mtdblock/6", "rb");
   if (fp)
-  {
-  fseek (fp, 0x1000, SEEK_SET);
-  unsigned int test;
-  fread (&test, 4, 1, fp);
-  if (test != 0xffffffff)
     {
-      fprintf (stderr,
-	       "radio config fixup is required to clean bad stuff out of memory, otherwise the radio config cannot be detected\n");
-      fseek (fp, 0, SEEK_SET);
-      char *block = (char *) malloc (65536);
-      fread (block, 65536, 1, fp);
+      fseek (fp, 0x1000, SEEK_SET);
+      unsigned int test;
+      fread (&test, 4, 1, fp);
+      if (test != 0xffffffff)
+	{
+	  fprintf (stderr,
+		   "radio config fixup is required to clean bad stuff out of memory, otherwise the radio config cannot be detected\n");
+	  fseek (fp, 0, SEEK_SET);
+	  char *block = (char *) malloc (65536);
+	  fread (block, 65536, 1, fp);
+	  fclose (fp);
+	  int i;
+	  for (i = 0x1000; i < 65536; i++)
+	    block[i] = 0xff;
+	  fp = fopen ("/tmp/radio", "wb");
+	  fwrite (block, 65536, 1, fp);
+	  eval ("mtd", "-f", "write", "/tmp/radio", "board_config");	//writes back new config and reboots
+	  eval ("event", "5", "1", "15");
+	}
       fclose (fp);
-      int i;
-      for (i = 0x1000; i < 65536; i++)
-	block[i] = 0xff;
-      fp = fopen ("/tmp/radio", "wb");
-      fwrite (block, 65536, 1, fp);
-      eval ("mtd", "-f", "write", "/tmp/radio", "board_config");	//writes back new config and reboots
-      eval ("event", "5", "1", "15");
     }
-  fclose (fp);
-  }
 
 
@@ -132,12 +132,13 @@
   if (getRouterBrand () == ROUTER_BOARD_FONERA2200)
     {
-  eval ("ifconfig", "eth0", "up");	// required for vlan config
-  eval ("/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD");
-  eval ("/sbin/vconfig", "add", "eth0", "0");
-  eval ("/sbin/vconfig", "add", "eth0", "1");
-    }else
+      eval ("ifconfig", "eth0", "up");	// required for vlan config
+      eval ("/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD");
+      eval ("/sbin/vconfig", "add", "eth0", "0");
+      eval ("/sbin/vconfig", "add", "eth0", "1");
+    }
+  else
     {
-  vlan_init (5);		// 4 lan + 1 wan
-  }
+      vlan_init (5);		// 4 lan + 1 wan
+    }
 //  eval ("insmod", "ipv6");
 
@@ -166,5 +167,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-fonera.c
===================================================================
--- /src/router/services/sysinit/sysinit-fonera.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-fonera.c	(revision 9124)
@@ -116,8 +116,8 @@
   if (getRouterBrand () == ROUTER_BOARD_FONERA2200)
     {
-  eval ("ifconfig", "eth0", "up");	// required for vlan config
-  eval ("/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD");
-  eval ("/sbin/vconfig", "add", "eth0", "0");
-  eval ("/sbin/vconfig", "add", "eth0", "1");
+      eval ("ifconfig", "eth0", "up");	// required for vlan config
+      eval ("/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD");
+      eval ("/sbin/vconfig", "add", "eth0", "0");
+      eval ("/sbin/vconfig", "add", "eth0", "1");
     }
 //  eval ("insmod", "ipv6");
@@ -147,5 +147,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-gateworx.c
===================================================================
--- /src/router/services/sysinit/sysinit-gateworx.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-gateworx.c	(revision 9124)
@@ -97,5 +97,6 @@
   if (res == 1)
     {
-      in = popen ("/bin/cat /dev/mtdblock/0|/bin/grep \"2\\.03\"|wc -l", "rb");
+      in =
+	popen ("/bin/cat /dev/mtdblock/0|/bin/grep \"2\\.03\"|wc -l", "rb");
       fscanf (in, "%d", &res2);
       pclose (in);
@@ -196,5 +197,5 @@
 #ifndef HAVE_TONZE
 #ifndef HAVE_NOP8670
- checkupdate ();
+  checkupdate ();
 #endif
 #endif
@@ -272,37 +273,37 @@
   FILE *file = fopen (filename, "r");
   if (file)
-  {
-  unsigned char buf[16];
-  fseek(file,0x422,SEEK_SET);
-  fread (&buf[0], 6, 1, file);
-  char mac[16];
-  sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[0], buf[1], buf[2],
-	   buf[3], buf[4], buf[5]);
-  eval ("ifconfig", "ixp0", "hw", "ether", mac);
-  fseek(file,0x43b,SEEK_SET);
-  fread (&buf[6], 6, 1, file);
-  sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[6], buf[7], buf[8],
-	   buf[9], buf[10], buf[11]);
-  eval ("ifconfig", "ixp1", "hw", "ether", mac);
-  fclose (file);
-  }
+    {
+      unsigned char buf[16];
+      fseek (file, 0x422, SEEK_SET);
+      fread (&buf[0], 6, 1, file);
+      char mac[16];
+      sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[0], buf[1], buf[2],
+	       buf[3], buf[4], buf[5]);
+      eval ("ifconfig", "ixp0", "hw", "ether", mac);
+      fseek (file, 0x43b, SEEK_SET);
+      fread (&buf[6], 6, 1, file);
+      sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[6], buf[7], buf[8],
+	       buf[9], buf[10], buf[11]);
+      eval ("ifconfig", "ixp1", "hw", "ether", mac);
+      fclose (file);
+    }
 #else
   char *filename = "/sys/devices/platform/IXP4XX-I2C.0/i2c-adapter:i2c-0/0-0051/eeprom";	/* bank2=0x100 */
   FILE *file = fopen (filename, "r");
   if (file)
-  {
-  unsigned char buf[16];
-  fread (&buf[0], 16, 1, file);
-  char mac[16];
-  sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[0], buf[1], buf[2],
-	   buf[3], buf[4], buf[5]);
-  eval ("ifconfig", "ixp0", "hw", "ether", mac);
-  sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[6], buf[7], buf[8],
-	   buf[9], buf[10], buf[11]);
-  eval ("ifconfig", "ixp1", "hw", "ether", mac);
-
-
-  fclose (file);
-  }
+    {
+      unsigned char buf[16];
+      fread (&buf[0], 16, 1, file);
+      char mac[16];
+      sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[0], buf[1], buf[2],
+	       buf[3], buf[4], buf[5]);
+      eval ("ifconfig", "ixp0", "hw", "ether", mac);
+      sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[6], buf[7], buf[8],
+	       buf[9], buf[10], buf[11]);
+      eval ("ifconfig", "ixp1", "hw", "ether", mac);
+
+
+      fclose (file);
+    }
 
 
@@ -357,6 +358,7 @@
 {
 }
-void enable_dtag_vlan(int enable)
-{
-
-}
+void
+enable_dtag_vlan (int enable)
+{
+
+}
Index: /src/router/services/sysinit/sysinit-ls5.c
===================================================================
--- /src/router/services/sysinit/sysinit-ls5.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-ls5.c	(revision 9124)
@@ -143,5 +143,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-magicbox.c
===================================================================
--- /src/router/services/sysinit/sysinit-magicbox.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-magicbox.c	(revision 9124)
@@ -176,5 +176,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-mr3202a.c
===================================================================
--- /src/router/services/sysinit/sysinit-mr3202a.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-mr3202a.c	(revision 9124)
@@ -139,5 +139,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-newmedia-dual.c
===================================================================
--- /src/router/services/sysinit/sysinit-newmedia-dual.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-newmedia-dual.c	(revision 9124)
@@ -160,5 +160,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-pb42.c
===================================================================
--- /src/router/services/sysinit/sysinit-pb42.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-pb42.c	(revision 9124)
@@ -137,5 +137,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-rb532.c
===================================================================
--- /src/router/services/sysinit/sysinit-rb532.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-rb532.c	(revision 9124)
@@ -173,5 +173,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-supergerry.c
===================================================================
--- /src/router/services/sysinit/sysinit-supergerry.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-supergerry.c	(revision 9124)
@@ -150,5 +150,6 @@
 {
 }
-void enable_dtag_vlan(int enable)
+void
+enable_dtag_vlan (int enable)
 {
 
Index: /src/router/services/sysinit/sysinit-whrag108.c
===================================================================
--- /src/router/services/sysinit/sysinit-whrag108.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-whrag108.c	(revision 9124)
@@ -244,6 +244,7 @@
 {
 }
-void enable_dtag_vlan(int enable)
-{
-
-}
+void
+enable_dtag_vlan (int enable)
+{
+
+}
Index: /src/router/services/sysinit/sysinit-wrt300nv2.c
===================================================================
--- /src/router/services/sysinit/sysinit-wrt300nv2.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-wrt300nv2.c	(revision 9124)
@@ -175,22 +175,22 @@
   FILE *file = fopen (filename, "r");
   if (file)
-  {
-  unsigned char buf[16];
-  fseek (file,0x5ffa0,SEEK_SET); //point of mac address
-  fread (&buf[0], 6, 1, file);
-  char mac[16];
-  sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[0], buf[1], buf[2],
-	   buf[3], buf[4], buf[5]);
-  fprintf(stderr,"configure primary mac %s\n",mac);
-  eval ("ifconfig", "ixp0", "hw", "ether", mac);
-  eval ("ifconfig", "wifi0", "hw", "ether", mac);
-  nvram_set("et0macaddr",mac);
-  MAC_ADD(mac);
-  fprintf(stderr,"configure secondary mac %s\n",mac);
-  eval ("ifconfig", "ixp1", "hw", "ether", mac);
-
-
-  fclose (file);
-  }
+    {
+      unsigned char buf[16];
+      fseek (file, 0x5ffa0, SEEK_SET);	//point of mac address
+      fread (&buf[0], 6, 1, file);
+      char mac[16];
+      sprintf (mac, "%02x:%02x:%02x:%02x:%02x:%02x", buf[0], buf[1], buf[2],
+	       buf[3], buf[4], buf[5]);
+      fprintf (stderr, "configure primary mac %s\n", mac);
+      eval ("ifconfig", "ixp0", "hw", "ether", mac);
+      eval ("ifconfig", "wifi0", "hw", "ether", mac);
+      nvram_set ("et0macaddr", mac);
+      MAC_ADD (mac);
+      fprintf (stderr, "configure secondary mac %s\n", mac);
+      eval ("ifconfig", "ixp1", "hw", "ether", mac);
+
+
+      fclose (file);
+    }
   eval ("ifconfig", "ixp0", "0.0.0.0", "up");
   eval ("ifconfig", "ixp1", "0.0.0.0", "up");
@@ -223,6 +223,7 @@
 {
 }
-void enable_dtag_vlan(int enable)
-{
-
-}
+void
+enable_dtag_vlan (int enable)
+{
+
+}
Index: /src/router/services/sysinit/sysinit-x86.c
===================================================================
--- /src/router/services/sysinit/sysinit-x86.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit-x86.c	(revision 9124)
@@ -401,6 +401,7 @@
 {
 }
-void enable_dtag_vlan(int enable)
-{
-
-}
+void
+enable_dtag_vlan (int enable)
+{
+
+}
Index: /src/router/services/sysinit/sysinit.c
===================================================================
--- /src/router/services/sysinit/sysinit.c	(revision 9123)
+++ /src/router/services/sysinit/sysinit.c	(revision 9124)
@@ -140,5 +140,5 @@
   if (nvram_match ("radiooff_button", "1")
       && nvram_match ("radiooff_boot_off", "1"))
-    eval ("wl", "-i", get_wl_instance_name(0), "radio", "off");
+    eval ("wl", "-i", get_wl_instance_name (0), "radio", "off");
 #endif
 #endif
@@ -588,5 +588,5 @@
     case ROUTER_BUFFALO_WZRRSG54:
       linux_overrides = generic;
-    break;
+      break;
 #ifndef HAVE_BUFFALO
     case ROUTER_ASUS_WL500GD:
