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:
Lubomir Rintel
2018-06-25 11:24:54 +02:00
parent cee8b56d3f
commit 2c3a14fed3
5 changed files with 1 additions and 55 deletions

View File

@@ -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;
}