redhat-performance / tuned

Tuning Profile Delivery Mechanism for Linux
GNU General Public License v2.0
814 stars 178 forks source link

Do not report errors on systems with no wifi #589

Closed jmencak closed 7 months ago

jmencak commented 8 months ago

This change does not attempt to _wifi_set_power_level() unless /proc/net/wireless exists.

Other changes: fix a typo.

jmencak commented 8 months ago

Greetings, @zacikpa / @yarda! I've noticed another unnecessary error when using the powersave profile. That one comes from the plugin_video.py plug-in in _get_radeon_powersave() directly. Not sure about the best way of fixing that, so leaving that perhaps as future work those more familiar with the code.

yarda commented 7 months ago

LGTM, thanks. The rawhide CI error is caused by regression in the kernel.