staging: slicoss: notifiy network stack about change in link state
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Fri, 22 Jul 2016 21:09:12 +0000 (23:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:59:44 +0000 (17:59 +0200)
commitda169754096c48281c75cbc5fd21e62e2cbb780b
tree109a8bdacc1dc2694ddd58c03b217e9b3c871b73
parent7ed4eb5168325e52b5d6be277555b36877955c66
staging: slicoss: notifiy network stack about change in link state

Notify the network stack about link states via netif_carrier_[off|on]().
Also set the link state off initially and when the interface is brought
down.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c