platform/wifi: drop *_get_wowlan()
It's redundant and was probably just left in a an oversight. *_get_wake_on_wlan() now does the same thing.
This commit is contained in:
@@ -6191,7 +6191,7 @@ link_get_wake_on_lan (NMPlatform *platform, int ifindex)
|
||||
if (!wifi_data)
|
||||
return FALSE;
|
||||
|
||||
return wifi_utils_get_wowlan (wifi_data);
|
||||
return wifi_utils_get_wake_on_wlan (wifi_data) != NM_SETTING_WIRELESS_WAKE_ON_WLAN_NONE;
|
||||
} else
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user