]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: set station addr only if needed
authorShannon Nelson <snelson@pensando.io>
Wed, 8 Apr 2020 16:19:12 +0000 (09:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2020 20:02:32 +0000 (13:02 -0700)
commite2e6acd935bba8279eeeb84f1cfabecfc9e83ef2
tree309928a3b47c91c4a60b7e3c2eb660a0d97b4223
parent31680b186b35c2f667bddd5f813a1433c141de90
ionic: set station addr only if needed

The code was working too hard and in some cases was trying to
delete filters that weren't there, generating a potentially
misleading error message.
    IONIC_CMD_RX_FILTER_DEL (32) failed: IONIC_RC_ENOENT (-2)

Fixes: 5da11f2fd009 ("ionic: Add Rx filter and rx_mode ndo support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c