From patchwork Mon Oct 26 12:18:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 55872 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 n9QCJ9FE030328 for ; Mon, 26 Oct 2009 12:19:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755882AbZJZMTD (ORCPT ); Mon, 26 Oct 2009 08:19:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755879AbZJZMTC (ORCPT ); Mon, 26 Oct 2009 08:19:02 -0400 Received: from bu3sch.de ([62.75.166.246]:60643 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755843AbZJZMTB convert rfc822-to-8bit (ORCPT ); Mon, 26 Oct 2009 08:19:01 -0400 Received: by vs166246.vserver.de with esmtpa (Exim 4.69) id 1N2OXN-000269-6j; Mon, 26 Oct 2009 12:19:01 +0000 From: Michael Buesch To: Johannes Berg Subject: Re: [PATCH] mac80211: fix for incorrect sequence number on hostapd injected frames Date: Mon, 26 Oct 2009 13:18:50 +0100 User-Agent: KMail/1.9.9 Cc: =?utf-8?q?Bj=C3=B6rn_Smedman?= , linville@tuxdriver.com, linux-wireless@vger.kernel.org, Jouni Malinen , Joerg Pommnitz , Will Dyson References: <133e8d7e0910241155x4496b156p3c5d03450a71936a@mail.gmail.com> <1256497156.28230.0.camel@johannes.local> In-Reply-To: <1256497156.28230.0.camel@johannes.local> X-Move-Along: Nothing to see here. No, really... Nothing. MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200910261318.52570.mb@bu3sch.de> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Index: linux-2.6.31/net/mac80211/tx.c =================================================================== --- linux-2.6.31.orig/net/mac80211/tx.c 2009-10-26 09:15:20.000000000 +0100 +++ linux-2.6.31/net/mac80211/tx.c 2009-10-26 09:16:35.000000000 +0100 @@ -1478,7 +1478,7 @@ if (sdata->vif.type != NL80211_IFTYPE_AP) continue; if (compare_ether_addr(sdata->dev->dev_addr, - hdr->addr2)) { + hdr->addr2) == 0) { dev_hold(sdata->dev); dev_put(odev); osdata = sdata;