From: Arend van Spriel Date: Tue, 18 Oct 2011 12:03:06 +0000 (+0200) Subject: brcm80211: smac: avoid sprom endianess conversions for crc8 check X-Git-Tag: v3.3-rc1~182^2~545^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=888153b3db3fb10a048768c0c262951e2bc19719;p=pandora-kernel.git brcm80211: smac: avoid sprom endianess conversions for crc8 check The data from the sprom consists of u16 values stored in little endian notation over which a crc8 was determined. To validate this the buffer needed to be converted for big-endian systems. Reading the sprom data is now done per byte so conversion is only done after a successful crc8 check. Reviewed-by: Alwin Beukers Reviewed-by: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed