Ignore:
Timestamp:
08/16/07 17:15:07 (6 years ago)
Author:
BrainSlayer
Message:

corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/modules/dd-wrt.c

    r7699 r7700  
    15971597             selmatch (var, "psk", "selected=\"selected\"")); 
    15981598  sprintf (sta, "%s_mode", prefix); 
    1599   if (!nvram_match (sta, "sta")) 
     1599  if (nvram_match (sta, "ap")) 
    16001600    { 
    16011601      websWrite (wp, "<option value=\"wpa\" %s>WPA Enterprise</option>\n", 
     
    16051605             "<option value=\"psk2\" %s>WPA2 Personal</option>\n", 
    16061606             selmatch (var, "psk2", "selected=\"selected\"")); 
    1607   if (!nvram_match (sta, "sta")) 
     1607  if (nvram_match (sta, "ap")) 
    16081608    { 
    16091609      websWrite (wp, "<option value=\"wpa2\" %s>WPA2 Enterprise</option>\n", 
     
    16211621             selmatch (var, "wep", "selected=\"selected\"")); 
    16221622#ifdef HAVE_WPA_SUPPLICANT 
    1623   if (nvram_match (sta, "sta")) 
     1623  if (nvram_match (sta, "sta") || nvram_match (sta, "apsta") || nvram_match (sta, "wet")) 
    16241624    { 
    16251625      websWrite (wp, "<option value=\"8021X\" %s>802.1x</option>\n", 
Note: See TracChangeset for help on using the changeset viewer.