mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-30 14:22:37 +01:00
scan: Make scan_bss_compute_rank static
This commit is contained in:
parent
ce670bdcb1
commit
971b3dfed0
@ -393,7 +393,7 @@ static struct scan_bss *scan_parse_result(struct l_genl_msg *msg,
|
||||
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_WPA_FACTOR = 1.0;
|
||||
|
@ -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,
|
||||
const struct ie_rsn_info *info);
|
||||
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);
|
||||
|
||||
void bss_get_supported_ciphers(struct scan_bss *bss,
|
||||
|
Loading…
Reference in New Issue
Block a user