]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtlwifi: Fix programing CAM content sequence.
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 7 Feb 2017 03:29:58 +0000 (21:29 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 Feb 2017 07:25:08 +0000 (09:25 +0200)
commit1e75622c630b8701f11ea6af568e0006885c9b46
tree3c57c3b1e31aee8fc3ac861d7da29321c498d787
parent36401cb7ffae731295a6dd1ce2b40d7ad74245f4
rtlwifi: Fix programing CAM content sequence.

There is a potential race condition when the control byte of a CAM
entry is written first. Write in reverse order to correct the condition.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: shaofu <shaofu@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/cam.c