Make network scan list a bit cleaner.
This commit is contained in:
parent
e81e16ef8d
commit
468520221a
2 changed files with 6 additions and 4 deletions
|
@ -336,7 +336,7 @@ char *net_test_state_name(u8 state)
|
|||
}
|
||||
|
||||
const char *net_types[] = {
|
||||
"No security",
|
||||
"none",
|
||||
"WEP",
|
||||
"WPA",
|
||||
"unknown1",
|
||||
|
|
|
@ -70,10 +70,12 @@ void scan_print_nets(void)
|
|||
printf("Scanned wireless networks:\n");
|
||||
for (i=0; i < scanned->nr; i++) {
|
||||
struct scanned_net *net = &scanned->nets[i];
|
||||
printf("'%s' type(%d): %s, strength: %d\n", net->essid,
|
||||
net->type,
|
||||
net_type_name(net->type),
|
||||
printf("security: ");
|
||||
if (eyefi_debug_level > 1)
|
||||
printf("(%d)", net->type);
|
||||
printf("%4s, strength: %3d ", net_type_name(net->type),
|
||||
net->strength);
|
||||
printf("essid: '%s'\n", net->essid);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue