bnxt_en: Support clearing of the IFF_BROADCAST flag.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 9 Jul 2018 06:24:50 +0000 (02:24 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2018 23:27:14 +0000 (16:27 -0700)
commit30e338487a476aff2f12f440d1190a71c245b99c
treed5ebc9ed6978e3786606f6394d2e88d86571655d
parent78f058a4aa0f2280dc4d45d2c4a95728398ef857
bnxt_en: Support clearing of the IFF_BROADCAST flag.

Currently, the driver assumes IFF_BROADCAST is always set and always sets
the broadcast filter.  Modify the code to set or clear the broadcast
filter according to the IFF_BROADCAST flag.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c