]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wl18xx: alloc conf.phy memory to ensure alignemnt
authorArik Nemtsov <arik@wizery.com>
Thu, 5 Jul 2012 14:30:58 +0000 (17:30 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:08:21 +0000 (15:08 +0300)
commit45777c49ec376f5325e9ebbca85ee3e71697b0d2
tree024711175b2af6210385ec7eed817134625aaaa1
parent097b0e1bf18a00195cd89bb13565ddbc9b0df942
wl18xx: alloc conf.phy memory to ensure alignemnt

We get DMA alignment trouble if the beginning of the conf.phy struct is
not aligned to 4 bytes. Use kmemdup to ensure alignment.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c