blob: 30fef4df61bdecd7da0320826e09f92c5e3b1cc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- a/drivers/net/wireless/marvell/libertas/if_usb.c
+++ b/drivers/net/wireless/marvell/libertas/if_usb.c
@@ -936,6 +936,7 @@ static int if_usb_suspend(struct usb_int
goto out;
}
+#if LINUX_VERSION_IS_GEQ(3,1,0)
#ifdef CONFIG_OLPC
if (machine_is_olpc()) {
if (priv->wol_criteria == EHS_REMOVE_WAKEUP)
@@ -944,6 +945,7 @@ static int if_usb_suspend(struct usb_int
olpc_ec_wakeup_set(EC_SCI_SRC_WLAN);
}
#endif
+#endif
ret = lbs_suspend(priv);
if (ret)
|