mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
scan: Make const correct
This commit is contained in:
parent
3b618172e2
commit
ce3ffd732f
@ -83,7 +83,7 @@ void scan_get_results(struct l_genl_family *nl80211, uint32_t ifindex,
|
|||||||
|
|
||||||
enum scan_ssid_security scan_get_ssid_security(
|
enum scan_ssid_security scan_get_ssid_security(
|
||||||
enum ie_bss_capability bss_capability,
|
enum ie_bss_capability bss_capability,
|
||||||
struct ie_rsn_info *info)
|
const struct ie_rsn_info *info)
|
||||||
{
|
{
|
||||||
if (bss_capability & IE_BSS_CAP_PRIVACY)
|
if (bss_capability & IE_BSS_CAP_PRIVACY)
|
||||||
return SCAN_SSID_SECURITY_WEP;
|
return SCAN_SSID_SECURITY_WEP;
|
||||||
|
@ -42,4 +42,4 @@ void scan_get_results(struct l_genl_family *nl80211, uint32_t ifindex,
|
|||||||
void *user_data);
|
void *user_data);
|
||||||
|
|
||||||
enum scan_ssid_security scan_get_ssid_security(enum ie_bss_capability bss_cap,
|
enum scan_ssid_security scan_get_ssid_security(enum ie_bss_capability bss_cap,
|
||||||
struct ie_rsn_info *info);
|
const struct ie_rsn_info *info);
|
||||||
|
Loading…
Reference in New Issue
Block a user