mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Mark wpa_bss_get_fils_cache_id() argument const
This function does not modify the BSS entry. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
5027f34a33
commit
dba4f7a545
@ -1359,7 +1359,7 @@ int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates)
|
|||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_FILS
|
#ifdef CONFIG_FILS
|
||||||
const u8 * wpa_bss_get_fils_cache_id(struct wpa_bss *bss)
|
const u8 * wpa_bss_get_fils_cache_id(const struct wpa_bss *bss)
|
||||||
{
|
{
|
||||||
const u8 *ie;
|
const u8 *ie;
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ int wpa_bss_get_max_rate(const struct wpa_bss *bss);
|
|||||||
int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
||||||
struct wpa_bss_anqp * wpa_bss_anqp_alloc(void);
|
struct wpa_bss_anqp * wpa_bss_anqp_alloc(void);
|
||||||
int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss);
|
int wpa_bss_anqp_unshare_alloc(struct wpa_bss *bss);
|
||||||
const u8 * wpa_bss_get_fils_cache_id(struct wpa_bss *bss);
|
const u8 * wpa_bss_get_fils_cache_id(const struct wpa_bss *bss);
|
||||||
int wpa_bss_ext_capab(const struct wpa_bss *bss, unsigned int capab);
|
int wpa_bss_ext_capab(const struct wpa_bss *bss, unsigned int capab);
|
||||||
|
|
||||||
static inline int bss_is_dmg(const struct wpa_bss *bss)
|
static inline int bss_is_dmg(const struct wpa_bss *bss)
|
||||||
|
Loading…
Reference in New Issue
Block a user