rtlwifi: Use write barrier when assigning ownership
authorMike McCormack <mikem@ring3k.org>
Mon, 30 May 2011 23:50:07 +0000 (08:50 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:01:06 +0000 (15:01 -0400)
commit71352b2318675cf6a3f54c02a33d91ac17af1626
tree648ee093ffd42c466e276859c7381629ee72c89a
parentfebc9fe5387ed37cb329563ae29d21b41c71a9dd
rtlwifi: Use write barrier when assigning ownership

Make sure all updates to a descriptor are flushed to memory
before assigning ownship to hardware.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192ce/trx.c