Changeset 28852 for branches/backfire


Ignore:
Timestamp:
2011-11-08T01:34:11+01:00 (5 years ago)
Author:
nbd
Message:

ar71xx: on ar7240, exclude ports from their own port vlan destination mask (backport of r28850)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ar7240.c

    r27706 r28852  
    478478        struct mii_bus *mii = as->mii_bus; 
    479479        u32 ctrl; 
    480         u32 dest_ports; 
    481480        u32 vlan; 
    482481 
     
    526525         * own ID to prevent frames from being reflected back to the 
    527526         * port that they came from */ 
    528         dest_ports = AR7240_PORT_MASK_BUT(port); 
     527        portmask &= AR7240_PORT_MASK_BUT(port); 
    529528 
    530529        /* set default VID and and destination ports for this VLAN */ 
Note: See TracChangeset for help on using the changeset viewer.