Skip to content

Commit

Permalink
Merge pull request #60 from HendrikRauh/59-warning-scan-only-in-ap
Browse files Browse the repository at this point in the history
show warning for scanning networks only in access-point mode
  • Loading branch information
RaffaelW authored Dec 20, 2024
2 parents 7af1725 + 8394599 commit fcb3741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const refreshIcon = refreshButton.querySelector("img");
let isLoading = false;

refreshButton.addEventListener("click", async () => {
// check if interface is connected via WiFi
if (data.connection == 0 || data.connection == 1) {
// check if interface is in WiFi-AccessPoint mode
if (data.connection == 1) {
alert(
"Beim WLAN-Scan wird die Verbindung hardwarebedingt kurzzeitig" +
"unterbrochen.\n" +
Expand Down

0 comments on commit fcb3741

Please sign in to comment.