Index: src/router/httpd/visuals/dd-wrt.c
===================================================================
--- src/router/httpd/visuals/dd-wrt.c	(revision 10864)
+++ src/router/httpd/visuals/dd-wrt.c	(revision 10867)
@@ -3608,5 +3608,5 @@
 	showRadio( wp, "wl_adv.label11", ssid );
 
-if (nvram_nmatch("ap","%s_mode",prefix) && nvram_nmatch("wdsap","%s_mode",prefix) && nvram_nmatch("infra","%s_mode",prefix))
+if (nvram_nmatch("ap","%s_mode",prefix) || nvram_nmatch("wdsap","%s_mode",prefix) || nvram_nmatch("infra","%s_mode",prefix))
     {
 	sprintf( power, "%s_maxassoc", prefix );
@@ -4240,5 +4240,5 @@
 #endif
 #ifdef HAVE_MADWIFI
-if (nvram_nmatch("ap","%s_mode",prefix) && nvram_nmatch("wdsap","%s_mode",prefix) && nvram_nmatch("infra","%s_mode",prefix))
+if (nvram_nmatch("ap","%s_mode",prefix) || nvram_nmatch("wdsap","%s_mode",prefix) || nvram_nmatch("infra","%s_mode",prefix))
     {
     sprintf( power, "%s_maxassoc", prefix );
