3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

scan: make scan_bss_get_rsn_info const correct

This commit is contained in:
Denis Kenzior 2018-11-15 11:28:46 -06:00
parent ad242a796a
commit 3d549e457d
2 changed files with 2 additions and 2 deletions

View File

@ -1053,7 +1053,7 @@ void scan_bss_free(struct scan_bss *bss)
l_free(bss);
}
int scan_bss_get_rsn_info(struct scan_bss *bss, struct ie_rsn_info *info)
int scan_bss_get_rsn_info(const struct scan_bss *bss, struct ie_rsn_info *info)
{
/*
* If both an RSN and a WPA elements are present currently

View File

@ -108,7 +108,7 @@ void scan_sched_start(struct l_genl_family *nl80211, uint32_t ifindex,
void scan_bss_free(struct scan_bss *bss);
int scan_bss_rank_compare(const void *a, const void *b, void *user);
int scan_bss_get_rsn_info(struct scan_bss *bss, struct ie_rsn_info *info);
int scan_bss_get_rsn_info(const struct scan_bss *bss, struct ie_rsn_info *info);
uint8_t scan_freq_to_channel(uint32_t freq, enum scan_band *out_band);
uint32_t scan_channel_to_freq(uint8_t channel, enum scan_band band);