lan78xx: Fix to handle hard_header_len update
authorNisar Sayed <Nisar.Sayed@microchip.com>
Tue, 1 Aug 2017 10:24:33 +0000 (10:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2017 17:39:58 +0000 (10:39 -0700)
commit0573f94b1abfb42952275ca67f665dbd720b00d7
treead136e947271f6a632d941fe4f5c806dcfc85d4b
parentfb52c3b597f0b44e893ded8c253845561f9f57da
lan78xx: Fix to handle hard_header_len update

Fix to handle hard_header_len update

When ifconfig up/down sequence is initiated hard_header_len
get updated incrementally for each ifconfig up /down sequence,
this leads invalid hard_header_len, moving to lan78xx_bind
to have one time update of hard_header_len addresses the issue.

Signed-off-by: Nisar Sayed <Nisar.Sayed@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c