batman-adv: Act on NETDEV_*_TYPE_CHANGE events
authorAndrew Lunn <andrew@lunn.ch>
Thu, 3 Dec 2015 20:12:33 +0000 (21:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Dec 2015 22:41:42 +0000 (17:41 -0500)
commita1a66b1100373ead1fa2383bc3dee42c508bb504
treea429c324efd573280e1e40c54146f5fc072ea2dc
parent3ef0952ca85e28226b09a6d833c30e3e604a63c8
batman-adv: Act on NETDEV_*_TYPE_CHANGE events

A network interface can change type. It may change from a type which
batman does not support, e.g. hdlc, to one it does, e.g. hdlc-eth.
When an interface changes type, it sends two notifications. Handle
these notifications.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/hard-interface.c