aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/libertas/cmd.c3
-rw-r--r--drivers/net/wireless/libertas/dev.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index 72e76e4ec7a9..f5d4971f13a0 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -73,8 +73,7 @@ static int wlan_cmd_802_11_ps_mode(wlan_private * priv,
73 73
74 psm->locallisteninterval = 74 psm->locallisteninterval =
75 cpu_to_le16(adapter->locallisteninterval); 75 cpu_to_le16(adapter->locallisteninterval);
76 psm->nullpktinterval = 76 psm->nullpktinterval = 0;
77 cpu_to_le16(adapter->nullpktinterval);
78 psm->multipledtim = 77 psm->multipledtim =
79 cpu_to_le16(priv->adapter->multipledtim); 78 cpu_to_le16(priv->adapter->multipledtim);
80 break; 79 break;
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index 76234000e5bc..6e78e315a8b3 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -313,7 +313,6 @@ struct _wlan_adapter {
313 313
314 struct PS_CMD_ConfirmSleep libertas_ps_confirm_sleep; 314 struct PS_CMD_ConfirmSleep libertas_ps_confirm_sleep;
315 u16 locallisteninterval; 315 u16 locallisteninterval;
316 u16 nullpktinterval;
317 316
318 struct assoc_request * pending_assoc_req; 317 struct assoc_request * pending_assoc_req;
319 struct assoc_request * in_progress_assoc_req; 318 struct assoc_request * in_progress_assoc_req;