Skip to content

Commit

Permalink
no need to check twice
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Nov 1, 2023
1 parent 5a91f96 commit 8132779
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions LibreNMS/OS/Ciscowlc.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,15 @@ public function discoverWirelessClients()
);
}

if (! empty($counts)) {
$sensors[] = new WirelessSensor(
'clients',
$this->getDeviceId(),
$total_oids,
'ciscowlc',
0,
'Clients: Total',
$total
);
}
$sensors[] = new WirelessSensor(
'clients',
$this->getDeviceId(),
$total_oids,
'ciscowlc',
0,
'Clients: Total',
$total
);

return $sensors;
}
Expand Down

0 comments on commit 8132779

Please sign in to comment.