firewire: net: add carrier detection
authorMaxim Levitsky <maximlevitsky@gmail.com>
Wed, 8 Dec 2010 02:22:57 +0000 (04:22 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 19 Dec 2010 14:27:01 +0000 (15:27 +0100)
To make userland, e.g. NetworkManager work with firewire, we need to
detect whether cable is plugged or not.  Simple and correct way of doing
that is just counting number of peers.  No peers - no link and vice
versa.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

No differences found