aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index cfd0af6725d4..6c0e814bbe60 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -897,7 +897,7 @@ void lbs_remove_card(struct lbs_private *priv)
897 897
898 if (priv->psmode == LBS802_11POWERMODEMAX_PSP) { 898 if (priv->psmode == LBS802_11POWERMODEMAX_PSP) {
899 priv->psmode = LBS802_11POWERMODECAM; 899 priv->psmode = LBS802_11POWERMODECAM;
900 lbs_ps_wakeup(priv, CMD_OPTION_WAITFORRSP); 900 lbs_set_ps_mode(priv, PS_MODE_ACTION_EXIT_PS, true);
901 } 901 }
902 902
903 if (priv->is_deep_sleep) { 903 if (priv->is_deep_sleep) {
@@ -1060,7 +1060,7 @@ static int __init lbs_init_module(void)
1060 memset(&confirm_sleep, 0, sizeof(confirm_sleep)); 1060 memset(&confirm_sleep, 0, sizeof(confirm_sleep));
1061 confirm_sleep.hdr.command = cpu_to_le16(CMD_802_11_PS_MODE); 1061 confirm_sleep.hdr.command = cpu_to_le16(CMD_802_11_PS_MODE);
1062 confirm_sleep.hdr.size = cpu_to_le16(sizeof(confirm_sleep)); 1062 confirm_sleep.hdr.size = cpu_to_le16(sizeof(confirm_sleep));
1063 confirm_sleep.action = cpu_to_le16(CMD_SUBCMD_SLEEP_CONFIRMED); 1063 confirm_sleep.action = cpu_to_le16(PS_MODE_ACTION_SLEEP_CONFIRMED);
1064 lbs_debugfs_init(); 1064 lbs_debugfs_init();
1065 lbs_deb_leave(LBS_DEB_MAIN); 1065 lbs_deb_leave(LBS_DEB_MAIN);
1066 return 0; 1066 return 0;