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:
parent
f9b7e32c2d
commit
6b81b6e46a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user