3
0
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:
Denis Kenzior 2015-01-28 14:25:21 -06:00
parent 3b618172e2
commit ce3ffd732f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);