diff options
author | Juuso Oikarinen | 2010-05-07 10:38:59 +0200 |
---|---|---|
committer | John W. Linville | 2010-05-07 20:57:18 +0200 |
commit | 554d7209c87a7b7ec70c14d9ed1c01e05f5dbc23 (patch) | |
tree | 4f1c229b9aa2b210570dffffdb530f967b96110b /drivers/net/wireless/wl12xx/wl1271.h | |
parent | wl1271: Add sysfs file to retrieve HW PG-version and ROM-version (diff) | |
download | kernel-qcow2-linux-554d7209c87a7b7ec70c14d9ed1c01e05f5dbc23.tar.gz kernel-qcow2-linux-554d7209c87a7b7ec70c14d9ed1c01e05f5dbc23.tar.xz kernel-qcow2-linux-554d7209c87a7b7ec70c14d9ed1c01e05f5dbc23.zip |
wl1271: Fix 32 bit register read related endiannes bug
Reading single registers did not pay attention to data endianness. This patch
fix that.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h index 3e1769dd1b55..6f1b6b5640c0 100644 --- a/drivers/net/wireless/wl12xx/wl1271.h +++ b/drivers/net/wireless/wl12xx/wl1271.h @@ -481,7 +481,7 @@ struct wl1271 { struct wl1271_stats stats; struct wl1271_debugfs debugfs; - u32 buffer_32; + __le32 buffer_32; u32 buffer_cmd; u32 buffer_busyword[WL1271_BUSY_WORD_CNT]; |