Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:37547 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756840Ab2LISZP (ORCPT ); Sun, 9 Dec 2012 13:25:15 -0500 Message-ID: <1355077540.9878.1.camel@jlt4.sipsolutions.net> (sfid-20121209_192518_801842_330AE8BD) Subject: Re: WLAN not working anymore after changing the MAC address From: Johannes Berg To: Arend van Spriel Cc: Maximilian Engelhardt , brcm80211-dev-list@broadcom.com, "linux-wireless@vger.kernel.org" Date: Sun, 09 Dec 2012 19:25:40 +0100 In-Reply-To: <1355077493.9878.0.camel@jlt4.sipsolutions.net> (sfid-20121209_192436_572441_F392233B) References: <201212090940.38269.maxi@daemonizer.de> <50C4CFDA.5020900@broadcom.com> <1355077493.9878.0.camel@jlt4.sipsolutions.net> (sfid-20121209_192436_572441_F392233B) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, 2012-12-09 at 19:24 +0100, Johannes Berg wrote: > On Sun, 2012-12-09 at 18:52 +0100, Arend van Spriel wrote: > > > > After changing the MAC address of my wireless network interface it > > > doesn't work anymore. I would very much like to change the MAC > > > address to avoid being traceable by it. Steps how this can be > > > reproduced are shown below. Here is first some information about my > > > Hardware and test setup: > > > > > > > How is this supposed to be distributed to the driver? I have been > > looking in the mac80211 interface. The only callback that I can think > > is is the change_interface() callback although the documentation does > > state this is only for changing the interface type. Or is it to be > > done upon add_interface()? > > You should read the interface address in add_interface and basically read ... well that came out wrong. I mean use vif->addr. johannes