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:
@@ -112,8 +112,6 @@ public:
|
|||||||
status_t Scan(bool wait = true,
|
status_t Scan(bool wait = true,
|
||||||
bool forceRescan = true);
|
bool forceRescan = true);
|
||||||
|
|
||||||
status_t GetNextNetwork(uint32& cookie,
|
|
||||||
wireless_network& network);
|
|
||||||
status_t GetNetworks(wireless_network*& networks,
|
status_t GetNetworks(wireless_network*& networks,
|
||||||
uint32& count);
|
uint32& count);
|
||||||
status_t GetNetwork(const char* name,
|
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
|
status_t
|
||||||
BNetworkDevice::GetNetworks(wireless_network*& networks, uint32& count)
|
BNetworkDevice::GetNetworks(wireless_network*& networks, uint32& count)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user