We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec49bb commit bf185b6Copy full SHA for bf185b6
src/adapter.rs
@@ -338,8 +338,18 @@ impl Adapter {
338
};
339
340
let ap_is_scanning = match self.device.access_point.as_ref() {
341
- Some(ap) => ap.is_scanning.unwrap_or_default(),
342
- None => false,
+ Some(ap) => {
+ if ap.has_started {
343
+ match ap.is_scanning {
344
+ Some(v) => v.to_string(),
345
+ None => "-".to_string(),
346
+ }
347
+ } else {
348
+ "-".to_string()
349
350
351
+
352
353
354
355
let row = Row::new(vec![
@@ -353,7 +363,7 @@ impl Adapter {
363
ap_name,
364
ap_frequency,
365
ap_used_cipher,
356
- ap_is_scanning.to_string(),
366
+ ap_is_scanning,
357
367
]);
358
368
359
369
let widths = [
0 commit comments