mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
util: make scan_freq_set_get_bands const
This commit is contained in:
parent
b52ed27b72
commit
3f1d72e545
@ -378,7 +378,7 @@ bool scan_freq_set_contains(const struct scan_freq_set *freqs, uint32_t freq)
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t scan_freq_set_get_bands(struct scan_freq_set *freqs)
|
||||
uint32_t scan_freq_set_get_bands(const struct scan_freq_set *freqs)
|
||||
{
|
||||
uint32_t bands = 0;
|
||||
uint32_t max;
|
||||
|
@ -111,7 +111,7 @@ struct scan_freq_set *scan_freq_set_new(void);
|
||||
void scan_freq_set_free(struct scan_freq_set *freqs);
|
||||
bool scan_freq_set_add(struct scan_freq_set *freqs, uint32_t freq);
|
||||
bool scan_freq_set_contains(const struct scan_freq_set *freqs, uint32_t freq);
|
||||
uint32_t scan_freq_set_get_bands(struct scan_freq_set *freqs);
|
||||
uint32_t scan_freq_set_get_bands(const struct scan_freq_set *freqs);
|
||||
void scan_freq_set_foreach(const struct scan_freq_set *freqs,
|
||||
scan_freq_set_func_t func, void *user_data);
|
||||
void scan_freq_set_merge(struct scan_freq_set *to,
|
||||
|
Loading…
Reference in New Issue
Block a user