net: bcmgenet: Utilize bcmgenet_set_features() during resume/open
authorDoug Berger <opendmb@gmail.com>
Wed, 18 Dec 2019 00:51:12 +0000 (16:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2019 02:11:10 +0000 (18:11 -0800)
commit206f54b66cbf6f71e9e86f50f60ffdf7f565c3b7
tree94f144879cf11290a7b5fdffa7b3b7df2e262686
parentf63db4efdd50a2b67b97336fde67661af8af112b
net: bcmgenet: Utilize bcmgenet_set_features() during resume/open

During driver resume and open, the HW may have lost its context/state,
utilize bcmgenet_set_features() to make sure we do restore the correct
set of features that were previously configured.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c