rtlwifi: fix tm_trigger usage
authorHans Ulli Kroll <ulli.kroll@googlemail.com>
Sun, 7 Jun 2015 11:19:16 +0000 (13:19 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Jun 2015 09:30:20 +0000 (12:30 +0300)
commit1637c1b7ebbb51de63b71c7eebcfff6407a0be72
tree60b608d9e212dab76d85968a468c383d9f0c01ec
parentfbcaee1c6da13d10b8fb7810d76fb8ce92dd9226
rtlwifi: fix tm_trigger usage

While working on getting my rtl8821au driver in pretty shape for
inclusion, it is dicosvered that the tm_trigger flag is used only for
the first device using this driver.
This flag handles the thermal power management in the hardware.

To change this add a entry in sttruct rtl_dm, so each device can handle
is separately.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/rtl8188ee/dm.c
drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c
drivers/net/wireless/rtlwifi/rtl8192de/dm.c
drivers/net/wireless/rtlwifi/rtl8192se/dm.c
drivers/net/wireless/rtlwifi/rtl8723be/dm.c
drivers/net/wireless/rtlwifi/rtl8821ae/dm.c
drivers/net/wireless/rtlwifi/wifi.h