From: Jiri Slaby Date: Sat, 7 Mar 2009 09:26:42 +0000 (+0100) Subject: ath5k: don't change mac in eeprom_read_mac on error X-Git-Tag: v2.6.30-rc1~662^2~195^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d6c39efed5987d3c1ade96e93753125a099f512;p=pandora-kernel.git ath5k: don't change mac in eeprom_read_mac on error Do not touch mac parameter passed to ath5k_eeprom_read_mac unless we are sure we have correct address. I.e. when returning error, do not change it. While at it, use '= {}' compiler trick for memsetting mac_d. Signed-off-by: Jiri Slaby Acked-by: Nick Kossifidis Cc: Luis R. Rodriguez Acked-by: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed