diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2008-05-20 20:34:30 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 06:34:15 -0400 |
commit | d63ddcec20f59e78212aeaf5144e9652c0097211 (patch) | |
tree | 2e9176d822eb89f14131ada84ca2660d86716ce6 /drivers/net/wireless/zd1211rw/zd_mac.c | |
parent | b47385bd4f67481a7dbfcf1b4b82e9a67ecb846c (diff) |
misc drivers/net endianness noise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_mac.c')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index 0c736735e217..c99d4a4fde05 100644 --- a/drivers/net/wireless/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zd1211rw/zd_mac.c | |||
@@ -807,7 +807,7 @@ void zd_process_intr(struct work_struct *work) | |||
807 | u16 int_status; | 807 | u16 int_status; |
808 | struct zd_mac *mac = container_of(work, struct zd_mac, process_intr); | 808 | struct zd_mac *mac = container_of(work, struct zd_mac, process_intr); |
809 | 809 | ||
810 | int_status = le16_to_cpu(*(u16 *)(mac->intr_buffer+4)); | 810 | int_status = le16_to_cpu(*(__le16 *)(mac->intr_buffer+4)); |
811 | if (int_status & INT_CFG_NEXT_BCN) { | 811 | if (int_status & INT_CFG_NEXT_BCN) { |
812 | if (net_ratelimit()) | 812 | if (net_ratelimit()) |
813 | dev_dbg_f(zd_mac_dev(mac), "INT_CFG_NEXT_BCN\n"); | 813 | dev_dbg_f(zd_mac_dev(mac), "INT_CFG_NEXT_BCN\n"); |