From e9d1016eed6c556c34ed7fbcfb3cc96ad74f8473 Mon Sep 17 00:00:00 2001 From: Toastman Date: Wed, 26 Oct 2011 22:38:19 +0700 Subject: [PATCH] cosmetics, fix wireless mitigation setting --- release/src/router/httpd/tomato.c | 2 +- release/src/router/www/nas-samba.asp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/src/router/httpd/tomato.c b/release/src/router/httpd/tomato.c index 90365c4680..60c88fc547 100644 --- a/release/src/router/httpd/tomato.c +++ b/release/src/router/httpd/tomato.c @@ -718,7 +718,7 @@ static const nvset_t nvset_list[] = { { "wlx_hpamp", V_01 }, { "wlx_hperx", V_01 }, { "wl_reg_mode", V_LENGTH(1, 3) }, // !!TB - Regulatory: off, h, d - { "wl_mitigation", V_RANGE(0, 3) }, // Interference Mitigation Mode (0|1|2|3) + { "wl_mitigation", V_RANGE(0, 4) }, // Interference Mitigation Mode (0|1|2|3|4) { "wl_nmode_protection", V_WORD, }, // off, auto { "wl_nmcsidx", V_RANGE(-2, 32), }, // -2 - 32 diff --git a/release/src/router/www/nas-samba.asp b/release/src/router/www/nas-samba.asp index 9a31f356b6..3e8ba1a8de 100644 --- a/release/src/router/www/nas-samba.asp +++ b/release/src/router/www/nas-samba.asp @@ -245,7 +245,7 @@ createFieldTable('', [ value: nvram.smbd_autoshare }, { title: 'Options', multi: [ { suffix: '  Master Browser    ', name: 'f_smbd_master', type: 'checkbox', value: nvram.smbd_master == 1 }, - { suffix: '  WINS Server  ', name: 'f_smbd_wins', type: 'checkbox', value: (nvram.smbd_wins == 1) && (nvram.wan_wins == '' || nvram.wan_wins == '0.0.0.0') } + { suffix: '  WINS Server (if not defined on Basic/Network page)  ', name: 'f_smbd_wins', type: 'checkbox', value: (nvram.smbd_wins == 1) && (nvram.wan_wins == '' || nvram.wan_wins == '0.0.0.0') } ] } ]); -- 2.11.4.GIT