mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-26 09:32:34 +01:00
wiphy: remove pending_freqs from wiphy_regdom_is_updating
We can determine this info based on the dump IDs.
This commit is contained in:
parent
95fa101861
commit
16b420e2ff
@ -979,7 +979,7 @@ int wiphy_estimate_data_rate(struct wiphy *wiphy,
|
||||
|
||||
bool wiphy_regdom_is_updating(struct wiphy *wiphy)
|
||||
{
|
||||
return wiphy->pending_freqs != NULL;
|
||||
return wiphy->dump_id || (!wiphy->self_managed && wiphy_dump_id);
|
||||
}
|
||||
|
||||
uint32_t wiphy_state_watch_add(struct wiphy *wiphy,
|
||||
|
Loading…
Reference in New Issue
Block a user