mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
BNetworkDevice: Remove GetNextNetwork.
As far as I can tell, it has no consumers whatsoever outside the tree. (wpa_supplicant did not even use it.) So, remove it altogether. If that turns out to be mistaken, we can reinstate it temporarily as a private class function or ABI-only symbol.
This commit is contained in:
parent
11a8223711
commit
15ff8d64b6
@ -112,8 +112,6 @@ public:
|
||||
status_t Scan(bool wait = true,
|
||||
bool forceRescan = true);
|
||||
|
||||
status_t GetNextNetwork(uint32& cookie,
|
||||
wireless_network& network);
|
||||
status_t GetNetworks(wireless_network*& networks,
|
||||
uint32& count);
|
||||
status_t GetNetwork(const char* name,
|
||||
|
@ -829,18 +829,6 @@ BNetworkDevice::Scan(bool wait, bool forceRescan)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BNetworkDevice::GetNextNetwork(uint32& cookie, wireless_network& network)
|
||||
{
|
||||
status_t status = get_scan_result(Name(), network, cookie, NULL, NULL);
|
||||
if (status != B_OK)
|
||||
return status;
|
||||
|
||||
cookie++;
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BNetworkDevice::GetNetworks(wireless_network*& networks, uint32& count)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user