Skip to contentSkip to conversation

WiMAX pull request

PATCH In review Inaky Perez-Gonzalez 2 participants 3 messages Jun 11, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 WiMAX pull request

From: Inaky Perez-Gonzalez <[email protected]>

The following changes since commit 3a24934f065d23145f1c9c70da9f630c7a37795f:
Inaky Perez-Gonzalez (1):
wimax/i2400m: fix bad race condition check in RX path

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/inaky/wimax.git wimax-2.6.35.y

Patches follow for reviewing convenience.

Inaky Perez-Gonzalez (1):
wimax/i2400m: fix missing endian correction read in fw loader

 drivers/net/wimax/i2400m/fw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 wimax/i2400m: fix missing endian correction read in fw loader

From: Inaky Perez-Gonzalez <[email protected]>

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

---
 drivers/net/wimax/i2400m/fw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wimax/i2400m/fw.c +1 -1
index 3f283bf..1149135 100644
@@ -1192,7 +1192,7 @@ int i2400m_fw_hdr_check(struct i2400m *i2400m,
 	unsigned module_type, header_len, major_version, minor_version,
 		module_id, module_vendor, date, size;
 
-	module_type = bcf_hdr->module_type;
+	module_type = le32_to_cpu(bcf_hdr->module_type);
 	header_len = sizeof(u32) * le32_to_cpu(bcf_hdr->header_len);
 	major_version = (le32_to_cpu(bcf_hdr->header_version) & 0xffff0000)
 		>> 16;
Signature · 6 lines
1.6.6.1

_______________________________________________
wimax mailing list
[email protected]
http://lists.linuxwimax.org/listinfo/wimax
maintainer
#2 lore raw
In reply to Inaky Perez-Gonzalez

From: Inaky Perez-Gonzalez <[email protected]>
Date: Fri, 11 Jun 2010 12:03:05 -0700

Quoted 9 lines

From: Inaky Perez-Gonzalez <[email protected]>

The following changes since commit 3a24934f065d23145f1c9c70da9f630c7a37795f:
Inaky Perez-Gonzalez (1):
wimax/i2400m: fix bad race condition check in RX path

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/inaky/wimax.git wimax-2.6.35.y

Pulled, thanks a lot.