summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wlanmodule.cpp2
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/networksetup/wlan/wlanmodule.cpp b/noncore/net/networksetup/wlan/wlanmodule.cpp
index 70b1f7a..321fa11 100644
--- a/noncore/net/networksetup/wlan/wlanmodule.cpp
+++ b/noncore/net/networksetup/wlan/wlanmodule.cpp
@@ -25,5 +25,5 @@ QString WLANModule::getPixmapName(Interface* ){
*/
bool WLANModule::isOwner(Interface *i){
- if(i->getInterfaceName() == "eth0")
+ if(i->getInterfaceName() == "eth0" || i->getInterfaceName() == "wlan0")
return true;
return false;
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp
index 70b1f7a..321fa11 100644
--- a/noncore/settings/networksettings/wlan/wlanmodule.cpp
+++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp
@@ -25,5 +25,5 @@ QString WLANModule::getPixmapName(Interface* ){
*/
bool WLANModule::isOwner(Interface *i){
- if(i->getInterfaceName() == "eth0")
+ if(i->getInterfaceName() == "eth0" || i->getInterfaceName() == "wlan0")
return true;
return false;