[FS#1147] VLAN problem with MT7530 switch

LEDE Bugs lede-bugs at lists.infradead.org
Tue Jan 30 07:08:45 PST 2018


The following task has a new comment added:

FS#1147 - VLAN problem with MT7530 switch
User who did this - Jaap Buurman (Mushoz)

----------
In the following file: https://github.com/lede-project/source/blob/master/target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mt7530.c


There is this function called

   static int mt7530_reset_switch(struct switch_dev *dev)

Which contains the following interesting comment:

   /* set default vid of each vlan to the same number of vlan, so the vid
    * won't need be set explicitly.
    */

Is this function perhaps bugged? It is using the index i for setting the vids instead of the actual vid values. Anyone with a better understanding of the code that could have a look?
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1147#comment4209



More information about the lede-bugs mailing list