mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 14:22:36 +01:00
scan: Remove unused scan_bss_address_to_string
This commit is contained in:
parent
c96d43a6da
commit
b2bcf97373
11
src/scan.c
11
src/scan.c
@ -785,17 +785,6 @@ void scan_bss_free(struct scan_bss *bss)
|
||||
l_free(bss);
|
||||
}
|
||||
|
||||
const char *scan_bss_address_to_string(const struct scan_bss *bss)
|
||||
{
|
||||
static char buf[32];
|
||||
|
||||
snprintf(buf, sizeof(buf), "%02X:%02X:%02X:%02X:%02X:%02X",
|
||||
bss->addr[0], bss->addr[1], bss->addr[2],
|
||||
bss->addr[3], bss->addr[4], bss->addr[5]);
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
||||
void bss_get_supported_ciphers(struct scan_bss *bss,
|
||||
uint16_t *pairwise_ciphers,
|
||||
uint16_t *group_ciphers)
|
||||
|
@ -79,7 +79,6 @@ void scan_sched_start(struct l_genl_family *nl80211, uint32_t ifindex,
|
||||
enum security scan_get_security(enum ie_bss_capability bss_cap,
|
||||
const struct ie_rsn_info *info);
|
||||
void scan_bss_free(struct scan_bss *bss);
|
||||
const char *scan_bss_address_to_string(const 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