blob: 8fab382a45dab405d2f33cdcf38a2cb1d3ac600e (
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
@@ -941,6 +941,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)
@@ -949,6 +950,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)
|