openwrtv4/package/kernel/mac80211
John Crispin e0aaac8434 mac80211: fix fallback to macaddr
If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink
produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't
exist) or a path that begins with '/sys/class/ieee80211' (which does not
work with the subsequent line to strip '/sys/devices' from the beginning of
the path).  Modify the checks to detect these conditions, and fallback to
using the macaddr.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44172
2015-01-28 12:07:08 +00:00
..
files mac80211: fix fallback to macaddr 2015-01-28 12:07:08 +00:00
patches mac80211: add throughput trigger to ath10k 2015-01-18 10:26:57 +00:00
scripts mac80211: add a maintenance script for upstream backport commits 2014-10-18 17:39:04 +00:00
Makefile mac80211: update libertas_sdio package name 2015-01-28 12:06:59 +00:00