From patchwork Thu Oct 28 19:54:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gertjan van Wingerde X-Patchwork-Id: 288532 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 o9SKAIos016114 for ; Thu, 28 Oct 2010 20:10:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933341Ab0J1UKO (ORCPT ); Thu, 28 Oct 2010 16:10:14 -0400 Received: from cpsmtpb-ews08.kpnxchange.com ([213.75.39.13]:4622 "EHLO cpsmtpb-ews08.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761680Ab0J1UKN (ORCPT ); Thu, 28 Oct 2010 16:10:13 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 28 Oct 2010 20:10:19 +0000 (UTC) X-Greylist: delayed 915 seconds by postgrey-1.27 at vger.kernel.org; Thu, 28 Oct 2010 16:10:13 EDT Received: from cpbrm-ews22.kpnxchange.com ([10.94.84.153]) by cpsmtpb-ews08.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 28 Oct 2010 21:54:56 +0200 Received: from CPSMTPM-EML105.kpnxchange.com ([195.121.3.9]) by cpbrm-ews22.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 28 Oct 2010 21:54:56 +0200 Received: from wingerd.gvw.nl ([86.87.118.224]) by CPSMTPM-EML105.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18222); Thu, 28 Oct 2010 21:54:56 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by wingerd.gvw.nl (Postfix) with ESMTP id CC2FB60324; Thu, 28 Oct 2010 21:54:55 +0200 (CEST) Message-ID: <4CC9D50F.5070403@gmail.com> Date: Thu, 28 Oct 2010 21:54:55 +0200 From: Gertjan van Wingerde User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101023 Lanikai/3.1.5 MIME-Version: 1.0 To: Lee CC: Helmut Schaa , linux-wireless@vger.kernel.org Subject: Re: [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb) References: <4CC0D0F6.4080507@web.de> <201010260740.47692.helmut.schaa@googlemail.com> <4CC93148.7090308@web.de> <201010281023.26957.helmut.schaa@googlemail.com> <4CC9C9A4.2020802@web.de> In-Reply-To: <4CC9C9A4.2020802@web.de> X-OriginalArrivalTime: 28 Oct 2010 19:54:56.0707 (UTC) FILETIME=[FEEC4930:01CB76D9] X-RcptDomain: vger.kernel.org Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index bc4cc93..f0da7b7 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c @@ -284,7 +284,7 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw, */ memcpy(&intf->mac, vif->addr, ETH_ALEN); if (vif->type == NL80211_IFTYPE_AP) { - memcpy(&intf->bssid, vif->addr, ETH_ALEN); + memcpy(intf->bssid, vif->addr, ETH_ALEN); rt2x00lib_config_intf(rt2x00dev, intf, vif->type, intf->mac, intf->bssid); } else {