3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

scan: Make scan_bss_compute_rank static

This commit is contained in:
Denis Kenzior 2015-06-22 14:12:09 -05:00
parent ce670bdcb1
commit 971b3dfed0
2 changed files with 1 additions and 2 deletions

View File

@ -393,7 +393,7 @@ static struct scan_bss *scan_parse_result(struct l_genl_msg *msg,
return bss; return bss;
} }
void scan_bss_compute_rank(struct scan_bss *bss) static void scan_bss_compute_rank(struct scan_bss *bss)
{ {
static const double RANK_RSNE_FACTOR = 1.2; static const double RANK_RSNE_FACTOR = 1.2;
static const double RANK_WPA_FACTOR = 1.0; static const double RANK_WPA_FACTOR = 1.0;

View File

@ -66,7 +66,6 @@ void scan_sched_start(struct l_genl_family *nl80211, uint32_t ifindex,
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,
const struct ie_rsn_info *info); const struct ie_rsn_info *info);
void scan_bss_free(struct scan_bss *bss); void scan_bss_free(struct scan_bss *bss);
void scan_bss_compute_rank(struct scan_bss *bss);
int scan_bss_rank_compare(const void *a, const void *b, void *user); int scan_bss_rank_compare(const void *a, const void *b, void *user);
void bss_get_supported_ciphers(struct scan_bss *bss, void bss_get_supported_ciphers(struct scan_bss *bss,