From patchwork Sun Nov 15 21:27:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 60126 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAFLRQ0J023619 for ; Sun, 15 Nov 2009 21:27:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751285AbZKOV1P (ORCPT ); Sun, 15 Nov 2009 16:27:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751168AbZKOV1P (ORCPT ); Sun, 15 Nov 2009 16:27:15 -0500 Received: from nbd.name ([88.198.39.176]:48476 "EHLO ds10.mine.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbZKOV1O (ORCPT ); Sun, 15 Nov 2009 16:27:14 -0500 Received: from p5ddc718f.dip.t-dialin.net ([93.220.113.143] helo=pi.local) by ds10.mine.nu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1N9mgs-0007oF-70; Sun, 15 Nov 2009 22:31:22 +0100 Message-ID: <4B007235.3050108@openwrt.org> Date: Sun, 15 Nov 2009 22:27:17 +0100 From: Felix Fietkau User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: linux-wireless CC: "John W. Linville" , "Luis R. Rodriguez" Subject: [PATCH] ath9k: fix massive rx packet loss issue X-Enigmail-Version: 0.96.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --- a/drivers/net/wireless/ath/ath9k/common.c +++ b/drivers/net/wireless/ath/ath9k/common.c @@ -203,6 +203,7 @@ int ath9k_cmn_rx_skb_preprocess(struct a { struct ath_hw *ah = common->ah; + memset(rx_status, 0, sizeof(struct ieee80211_rx_status)); if (!ath9k_rx_accept(common, skb, rx_status, rx_stats, decrypt_error)) return -EINVAL;