Skip to content
This repository has been archived by the owner on Jun 25, 2018. It is now read-only.

Commit

Permalink
generic: rtl8366_smi: debug
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaly Chekryzhev <[email protected]>
  • Loading branch information
13hakta committed May 16, 2017
1 parent e888040 commit 4e0439c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,12 @@ static int rtl8366_set_pvid(struct rtl8366_smi *smi, unsigned port,

if (!used) {
/* Update the entry from the 4K table */
dev_info(smi->parent, "get VLAN 4K vid:%d\n", vid);
err = smi->ops->get_vlan_4k(smi, vid, &vlan4k);
if (err)
if (err) {
dev_err(smi->parent, "PVID #%d vid:%d\n", err, vid);
return err;
}

vlanmc.vid = vid;
vlanmc.member = vlan4k.member;
Expand Down

0 comments on commit 4e0439c

Please sign in to comment.