Return-path: Received: from webmail.solarflare.com ([12.187.104.25]:24510 "EHLO webmail.solarflare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757709Ab3J1XuP (ORCPT ); Mon, 28 Oct 2013 19:50:15 -0400 Message-ID: <1383004209.3779.54.camel@bwh-desktop.uk.level5networks.com> (sfid-20131029_005038_515841_ED6E5F61) Subject: Re: [PATCH 16/16] wl1251: Add sysfs file address for setting permanent mac address From: Ben Hutchings To: Pali =?ISO-8859-1?Q?Roh=E1r?= CC: Luciano Coelho , "John W. Linville" , Johannes Berg , "David S. Miller" , , , , , , , , Date: Mon, 28 Oct 2013 23:50:09 +0000 In-Reply-To: <1382819655-30430-17-git-send-email-pali.rohar@gmail.com> References: <1382819655-30430-1-git-send-email-pali.rohar@gmail.com> <1382819655-30430-17-git-send-email-pali.rohar@gmail.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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 belongs in struct wl12xx_platform_data or (better) Device Tree properties. It definitely should not be settable once the device is registered. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.