diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-05-26 07:38:14 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 22:28:45 +0400 |
commit | bb793e2bfc25b8891b84b8fe3cb4b77cd4619814 (patch) | |
tree | 87b0ebe1ed342a7ad4646d57010b2434c8f00f49 /drivers/net/wireless/libertas/if_usb.h | |
parent | 981f187b7c4b237011d4175cae0120d5d203c0fd (diff) | |
download | linux-bb793e2bfc25b8891b84b8fe3cb4b77cd4619814.tar.xz |
[PATCH] libertas: More endianness fixes.
Now it at least manages to load the firmware.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.h')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.h b/drivers/net/wireless/libertas/if_usb.h index 3ed46a33fd21..156bb485e1a6 100644 --- a/drivers/net/wireless/libertas/if_usb.h +++ b/drivers/net/wireless/libertas/if_usb.h @@ -100,7 +100,7 @@ struct fwsyncheader { #define FW_HAS_LAST_BLOCK 0x00000004 #define FW_DATA_XMIT_SIZE \ - sizeof(struct fwheader) + fwdata->fwheader.datalength + sizeof(u32) + sizeof(struct fwheader) + le32_to_cpu(fwdata->fwheader.datalength) + sizeof(u32) int usb_tx_block(wlan_private *priv, u8 *payload, u16 nb); void if_usb_free(struct usb_card_rec *cardp); |