aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1211rw/zd_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_mac.c')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_mac.c2
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");