rtlwifi: Assign rx buffer ownership to hardware last
authorMike McCormack <mikem@ring3k.org>
Mon, 30 May 2011 23:49:51 +0000 (08:49 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:01:06 +0000 (15:01 -0400)
commitfebc9fe5387ed37cb329563ae29d21b41c71a9dd
treed39c1e9b4fb40047e2f90dc2d01942749c25ff55
parent312d5479dcfaca2b8aa451201b5388fdb8c8684a
rtlwifi: Assign rx buffer ownership to hardware last

Ownership of an rx buffer should only be given to the hardware
after all other changes are written, otherwise there's
a potential race.

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/pci.c