]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Set the correct thermal meter register for 8723bu
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 29 Feb 2016 22:05:25 +0000 (17:05 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:29:14 +0000 (15:29 +0200)
commite750b6dc8ff27b226c0277669152111c4c7569e9
tree6bdd20b8b32e324d5773fac1ab79c6620e9a70cb
parent917918f66a7a2242fa5080595cc3892a3dab784a
rtl8xxxu: Set the correct thermal meter register for 8723bu

Older chips use RF register 0x24 to set the thermal meter. Newer chips
use register 0x42.

This change makes sure to set the correct thermal meter register
depending on the chip.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c