From: Jiri Pirko Date: Tue, 1 Jan 2013 03:30:19 +0000 (+0000) Subject: ll_temac: fix mac address setting X-Git-Tag: v3.9-rc1~139^2~463 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e406dcc54cfd84d333ea673fa986fb5a1840e7;p=pandora-kernel.git ll_temac: fix mac address setting Previously, when invalid address was passed to ndo_set_mac_address, random mac was generated and set. Fix this by returning -EADDRNOTAVAIL in this situation. Also polish the code around a bit. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed