summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-07-27 15:55:57 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-07-27 15:55:57 +0200
commit4dec0ae6f55768ba0acef97ff2c67f7d5d4663fe (patch)
treea4b3a65cfa3278a65e68637c05c92af9c9e84b16
parented618fc8f26bc92a0309029e3b4fb8ffd2c82dd7 (diff)
net: usb: asix: disable failing auto detachT20_LinuxImageV2.0Alpha1_20120808
Disable failing auto detach stuff for now as it caused the following issue upon cable disconnect: [ 49.504039] eth0: EEPROM (0x18) = : 0800 [ 49.624580] eth0: EVENT: AX_CHK_AUTODETACH
-rw-r--r--drivers/net/usb/asix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index d37b27749590..6f4f9e206a79 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -346,7 +346,10 @@ static void ax88772b_status(struct usbnet *dev, struct urb *urb)
*/
ax772b_data->pw_enabled = 1;
}
+/* Disable failing auto detach stuff for now */
+#if 0
ax772b_data->Event = AX_CHK_AUTODETACH;
+#endif
} else {
/* AX88772B resumed from power saving state */
if (ax772b_data->pw_enabled ||