3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

station: remove excess if clause

No functional changes are intended.
This commit is contained in:
Peter Shkenev 2022-10-09 16:27:44 +03:00 committed by Denis Kenzior
parent f9b7e32c2d
commit 6b81b6e46a

View File

@ -183,12 +183,9 @@ struct network *station_get_connected_network(struct station *station)
bool station_is_busy(struct station *station)
{
if (station->state != STATION_STATE_DISCONNECTED &&
return station->state != STATION_STATE_DISCONNECTED &&
station->state != STATION_STATE_AUTOCONNECT_FULL &&
station->state != STATION_STATE_AUTOCONNECT_QUICK)
return true;
return false;
station->state != STATION_STATE_AUTOCONNECT_QUICK;
}
static bool station_is_autoconnecting(struct station *station)