Ignore:
Timestamp:
May 31, 2017, 10:28:08 AM (8 weeks ago)
Author:
brainslayer
Message:

only affects 88w8964

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/madwifi_ath9k.c

    r32169 r32170  
    953953
    954954        if (vapid > 0) {
    955 #ifdef HAVE_MVEBU
    956                 hwbuff[0] |= 0x2;
    957                 hwbuff[5] += vapid & 0xf;
    958 
    959 #else
    960                 hwbuff[0] ^= ((vapid - 1) << 2) | 0x2;
    961 #endif
     955                if (getRouterBrand() == ROUTER_WRT_3200ACM) {
     956                        hwbuff[0] |= 0x2;
     957                        hwbuff[5] += vapid & 0xf;
     958                } else {
     959                        hwbuff[0] ^= ((vapid - 1) << 2) | 0x2;
     960                }
     961
    962962        }
    963963        sprintf(macaddr, "%02X:%02X:%02X:%02X:%02X:%02X", hwbuff[0], hwbuff[1], hwbuff[2], hwbuff[3], hwbuff[4], hwbuff[5]);
    964 //      if (!strncmp(ifname, "ath2", 4) && getRouterBrand() == ROUTER_WRT_3200ACM)
    965 //              MAC_ADD(macaddr);
     964//              MAC_ADD(macaddr);
    966965
    967966        if (!has_ad(maininterface)) {
Note: See TracChangeset for help on using the changeset viewer.