b43: Fix unaligned 32bit SHM-shared access
authorMichael Buesch <mb@bu3sch.de>
Fri, 31 Jul 2009 18:51:41 +0000 (20:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:21 +0000 (16:44 -0400)
commitf62ae6cd887a184d6923037d588b5b2466aa2a97
tree9017155281a2948f43235439438002779935cb38
parent88d89526a671ba008f59456161b0c513cdfb5d5a
b43: Fix unaligned 32bit SHM-shared access

This fixes unaligned 32bit SHM-shared read/write access.
The low and high 16 bits were swapped.
It also adds a testcase for this to the chipaccess validation.

(Thanks to Albert Herranz for tracking down this bug.)

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c