diff options
-rw-r--r-- | ui/qt5/netsimplewifipage.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt5/netsimplewifipage.cc b/ui/qt5/netsimplewifipage.cc index ca2607e..e2bf943 100644 --- a/ui/qt5/netsimplewifipage.cc +++ b/ui/qt5/netsimplewifipage.cc @@ -84,7 +84,8 @@ void NetworkSimpleWirelessPage::doScan() { tain_now_g(); if(!wpactrl_start_g(&control, suppsock.c_str(), 2000)) { rescanButton->setEnabled(false); - statusLabel->setText(tr("Couldn't communicate with wireless subsystem.")); + statusLabel->setText(tr("Couldn't communicate with wireless subsystem (Code %1)").arg(errno)); + return; } response = wpactrl_command_g(&control, "SCAN"); |