Commit 20e9a493 authored by Javier Achirica's avatar Javier Achirica Committed by Jeff Garzik

[wireless airo] Fix small endianness bug.

parent e36bb696
......@@ -2658,6 +2658,8 @@ static int PC4500_writerid(struct airo_info *ai, u16 rid,
u16 status;
int rc = SUCCESS;
*(u16*)pBuf = cpu_to_le16((u16)len);
if (lock) {
if (down_interruptible(&ai->sem))
return ERROR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment