On 2016-02-01 22:26, Michal wrote:
> From: Michal Cieslakiewicz <michal.cieslakiew...@wp.pl>
> Subject: [PATCH v4 3/8] mac80211: ath9k: show platform MAC address in kernel 
> log if set
> 
> Add information in kernel log during module startup if MAC address
> of WLAN device is overridden by platform-supplied one.
> 
> Signed-off-by: Michal Cieslakiewicz <michal.cieslakiew...@wp.pl>
> ---
>  .../patches/548-ath9k_platform_mac_info.patch      | 31 
> ++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 
> package/kernel/mac80211/patches/548-ath9k_platform_mac_info.patch
> 
> diff --git 
> a/package/kernel/mac80211/patches/548-ath9k_platform_mac_info.patch 
> b/package/kernel/mac80211/patches/548-ath9k_platform_mac_info.patch
> new file mode 100644
> index 0000000..fece1f2
> --- /dev/null
> +++ b/package/kernel/mac80211/patches/548-ath9k_platform_mac_info.patch
> @@ -0,0 +1,31 @@
> +From: Michal Cieslakiewicz <michal.cieslakiew...@wp.pl>
> +Date: Sun, 31 Jan 2016 20:51:53 +0100
> +Subject: [PATCH v4 3/8] mac80211: ath9k: show platform MAC address in kernel
> + log if set
> +
> +Add information in kernel log during module startup if MAC address
> +of WLAN device is overridden by platform-supplied one. This one allows
> +user to see final MAC address for device, especially when invalid/random
> +address is assigned first and then overwritten by platform data.
I think it would be better to get rid of bogus warnings in the case of
having overwriting an invalid MAC address with the one from platform
data, instead of just just adding extra log messages to paper over it.
The final MAC address can be read from sysfs anyway...

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to