]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit8e65c0ece6f2aa732f9b755331869c67aeb1c7f6
treeeb7a5c26bfc87ed661fe42b35fcfb31356915682
parent03fe5f3ef7eab88e1405baa52a7923fbf337230b
hso: fix disable_net

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>
drivers/net/usb/hso.c