commit 2e2f6f991d75031a932ee0cf60cfae463ab80c7e
parent 29edb1626d88bb713db71f7b374d8f24832fd94f
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 19 Jun 2023 11:09:22 -0700
wiphy: remove l_info's for control port/power save
These should not have been put into a getter for wiphy and now
the driver quirks are printed out in wiphy_print_basic_info.
Diffstat:
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/wiphy.c b/src/wiphy.c
@@ -708,11 +708,8 @@ bool wiphy_control_port_enabled(struct wiphy *wiphy)
const struct l_settings *settings = iwd_get_config();
bool enabled;
- if (wiphy->driver_flags & FORCE_PAE) {
- l_info("Not using Control Port due to driver quirks: %s",
- wiphy_get_driver(wiphy));
+ if (wiphy->driver_flags & FORCE_PAE)
return false;
- }
if (!wiphy_has_ext_feature(wiphy,
NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211))
@@ -727,11 +724,8 @@ bool wiphy_control_port_enabled(struct wiphy *wiphy)
bool wiphy_power_save_disabled(struct wiphy *wiphy)
{
- if (wiphy->driver_flags & POWER_SAVE_DISABLE) {
- l_info("Disabling power save due to driver quirks: %s",
- wiphy_get_driver(wiphy));
+ if (wiphy->driver_flags & POWER_SAVE_DISABLE)
return true;
- }
return false;
}