Changeset 32169


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

marvell likes it different, so we need to change the vap mac address formula to get vaps to work on wrt3200acm

File:
1 edited

Legend:

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

    r31936 r32169  
    953953
    954954        if (vapid > 0) {
     955#ifdef HAVE_MVEBU
     956                hwbuff[0] |= 0x2;
     957                hwbuff[5] += vapid & 0xf;
     958
     959#else
    955960                hwbuff[0] ^= ((vapid - 1) << 2) | 0x2;
     961#endif
    956962        }
    957963        sprintf(macaddr, "%02X:%02X:%02X:%02X:%02X:%02X", hwbuff[0], hwbuff[1], hwbuff[2], hwbuff[3], hwbuff[4], hwbuff[5]);
Note: See TracChangeset for help on using the changeset viewer.