From patchwork Fri Feb 18 08:48:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Natarajan X-Patchwork-Id: 573631 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1I8mXMZ014681 for ; Fri, 18 Feb 2011 08:48:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756167Ab1BRIsc (ORCPT ); Fri, 18 Feb 2011 03:48:32 -0500 Received: from mail.atheros.com ([12.19.149.2]:18038 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756071Ab1BRIsb (ORCPT ); Fri, 18 Feb 2011 03:48:31 -0500 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Fri, 18 Feb 2011 00:48:10 -0800 Received: from smtp.atheros.com (10.12.4.8) by SC1EXHC-02.global.atheros.com (10.10.20.106) with Microsoft SMTP Server (TLS) id 8.2.213.0; Fri, 18 Feb 2011 00:48:29 -0800 Received: by smtp.atheros.com (sSMTP sendmail emulation); Fri, 18 Feb 2011 14:18:25 +0530 From: Vivek Natarajan To: CC: , Subject: [PATCH 2/2] mac80211: Clear PS related flag on disabling power save. Date: Fri, 18 Feb 2011 14:18:25 +0530 Message-ID: <1298018905-6984-1-git-send-email-vnatarajan@atheros.com> X-Mailer: git-send-email 1.6.3.3 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 18 Feb 2011 08:48:33 +0000 (UTC) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 17ef4f4..4b88edf 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -238,6 +238,7 @@ ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data *tx) IEEE80211_QUEUE_STOP_REASON_PS); ieee80211_queue_work(&local->hw, &local->dynamic_ps_disable_work); + ifmgd->flags &= ~IEEE80211_STA_NULLFUNC_ACKED; } mod_timer(&local->dynamic_ps_timer, jiffies +