diff options
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 9e6105cd54a5..42e19e85fa68 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -3398,9 +3398,9 @@ static int rndis_wlan_bind(struct usbnet *usbdev, struct usb_interface *intf) | |||
3398 | rndis_set_wiphy_params(wiphy, | 3398 | rndis_set_wiphy_params(wiphy, |
3399 | WIPHY_PARAM_FRAG_THRESHOLD | WIPHY_PARAM_RTS_THRESHOLD); | 3399 | WIPHY_PARAM_FRAG_THRESHOLD | WIPHY_PARAM_RTS_THRESHOLD); |
3400 | 3400 | ||
3401 | /* turn radio on */ | 3401 | /* turn radio off on init */ |
3402 | priv->radio_on = true; | 3402 | priv->radio_on = false; |
3403 | disassociate(usbdev, true); | 3403 | disassociate(usbdev, false); |
3404 | netif_carrier_off(usbdev->net); | 3404 | netif_carrier_off(usbdev->net); |
3405 | 3405 | ||
3406 | return 0; | 3406 | return 0; |