staging: vt6656: turn radio off after mac registered.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 5 Jul 2014 18:24:20 +0000 (19:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 23:03:57 +0000 (16:03 -0700)
Turn the radio off to save power is the device is unused
on system.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c

index 8a4695eca813d3786941b350f3b9269f664f841f..9d0441f3d9d91956068ce7a1de5c2fab30bce717 100644 (file)
@@ -1074,6 +1074,8 @@ int vnt_init(struct vnt_private *priv)
 
        priv->mac_hw = true;
 
+       vnt_radio_power_off(priv);
+
        return 0;
 }