Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932131Ab3J1Nzb (ORCPT ); Mon, 28 Oct 2013 09:55:31 -0400 Received: from s3.sipsolutions.net ([144.76.43.152]:34080 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932111Ab3J1Nz3 (ORCPT ); Mon, 28 Oct 2013 09:55:29 -0400 Message-ID: <1382968522.17956.11.camel@jlt4.sipsolutions.net> Subject: Re: [PATCH 16/16] wl1251: Add sysfs file address for setting permanent mac address From: Johannes Berg To: Pali =?ISO-8859-1?Q?Roh=E1r?= Cc: Luciano Coelho , "John W. Linville" , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, freemangordon@abv.bg, aaro.koskinen@iki.fi, pavel@ucw.cz, sre@ring0.de, joni.lapilainen@gmail.com Date: Mon, 28 Oct 2013 14:55:22 +0100 In-Reply-To: <201310281449.58170@pali> (sfid-20131028_145001_437329_9A106CBF) References: <1382819655-30430-1-git-send-email-pali.rohar@gmail.com> <1382819655-30430-17-git-send-email-pali.rohar@gmail.com> <1382967905.17956.8.camel@jlt4.sipsolutions.net> <201310281449.58170@pali> (sfid-20131028_145001_437329_9A106CBF) Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5-2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1108 Lines: 29 On Mon, 2013-10-28 at 14:49 +0100, Pali Rohár wrote: > On Monday 28 October 2013 14:45:05 Johannes Berg wrote: > > On Sat, 2013-10-26 at 22:34 +0200, Pali Rohár wrote: > > > Driver wl1251 generating mac address randomly at startup and > > > there is no way to set permanent mac address via > > > SET_IEEE80211_PERM_ADDR. This patch export sysfs file which > > > can set permanent mac address by userspace helper program. > > > Patch is needed for devices which do not store mac address > > > in internal wl1251 eeprom. > > > > This doesn't really seem like a good idea since you can also > > just use 'ip' or whatever to set the MAC address. > > > > johannes > > AFAIK you cannot set permanent address (show by ethtool -P wlan0) > via ip/ifconfig. You probably can't, but that address also doesn't matter at all and isn't really used anywhere. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/