]> git.baikalelectronics.ru Git - kernel.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)
commit616910e89d2f5144f8773f81b5ba3d2951f92ef2
tree3c57c3b1e31aee8fc3ac861d7da29321c498d787
parenta27ffa894f2bfba2655b0d572520adf63c1015c0
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