hso: fix disable_net
authorFilip Aben <f.aben@option.com>
Thu, 25 Nov 2010 03:40:50 +0000 (03:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Nov 2010 19:46:44 +0000 (11:46 -0800)
The HSO driver incorrectly creates a serial device instead of a net
device when disable_net is set. It shouldn't create anything for the
network interface.

Signed-off-by: Filip Aben <f.aben@option.com>
Reported-by: Piotr Isajew <pki@ex.com.pl>
Reported-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found