wil6210: guarantee safe access to rx descriptors shared memory
authorMaya Erez <qca_merez@qca.qualcomm.com>
Mon, 16 May 2016 19:23:31 +0000 (22:23 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 28 May 2016 08:19:13 +0000 (11:19 +0300)
commitab6d7cc3eab4093caf91ba8b27590c4080d7d01c
treed5e936d8fe4d24ebb9b56893e1f8584b49ad2f20
parenteb26cff148f5449972121e46e403f549d71f6f49
wil6210: guarantee safe access to rx descriptors shared memory

add memory barrier after allocating new rx descriptors, before
updating the hwtail.
This will guarantee that all writes to descriptors (shared memory)
are done before committing them to HW.

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/txrx.c