Changeset 8994
- Timestamp:
- 02/11/08 00:55:55 (5 years ago)
- Location:
- src/router/wlconf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/router/wlconf/wlconf.c
r8993 r8994 744 744 if (wl_ap_build) { 745 745 /* Enable MSSID mode if appropriate */ 746 WL_IOVAR_SETINT(name, "mssid", (bclist->count > 1)); 746 747 if (!ure_enab) { 747 WL_IOVAR_SETINT(name, "mssid", (bclist->count > 1));748 748 WL_IOVAR_SETINT(name, "mbss", (bclist->count > 1)); //compatiblitiy with newer drivers 749 }else{ 750 WL_IOVAR_SETINT(name, "mbss", 0); //compatiblitiy with newer drivers 751 749 752 } 750 753 /* … … 764 767 } 765 768 cprintf("set local addr %s\n",name); 766 if (nvram_get("il0macaddr")!=NULL)767 {768 ether_atoe(nvram_safe_get("il0macaddr"),vif_addr);769 }770 769 if (!ure_enab) { 770 // if (nvram_get("il0macaddr")!=NULL) 771 // { 772 // ether_atoe(nvram_safe_get("il0macaddr"),vif_addr); 773 // } 771 774 /* set local bit for our MBSS vif base */ 772 775 ETHER_SET_LOCALADDR(vif_addr); 773 vif_addr[5] +=1;774 776 /* construct and set other wlX.Y_hwaddr */ 775 777 for (i = 1; i < max_no_vifs; i++) { … … 777 779 addr = nvram_safe_get(tmp); 778 780 //if (!strcmp(addr, "")) { 779 vif_addr[5] = (vif_addr[5] & ~(max_no_vifs-1)) 780 | ((max_no_vifs-1) & (vif_addr[5]+1)); 781 vif_addr[5]++; 781 782 782 783 nvram_set(tmp, ether_etoa((uchar *)vif_addr,
Note: See TracChangeset
for help on using the changeset viewer.
