wimax/i2400m: fix missing endian correction read in fw loader
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Fri, 11 Jun 2010 18:51:20 +0000 (11:51 -0700)
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Fri, 11 Jun 2010 18:51:20 +0000 (11:51 -0700)
commita385a53e659b35ebee604889e21c40e5c336941f
treeb58b887077f435da273ee5922ed267f3357bdabd
parent3a24934f065d23145f1c9c70da9f630c7a37795f
wimax/i2400m: fix missing endian correction read in fw loader

i2400m_fw_hdr_check() was accessing hardware field
bcf_hdr->module_type (little endian 32) without converting to host
byte sex.

Reported-by: Данилин Михаил <mdanilin@nsg.net.ru>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/fw.c