aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index dae790ad..fd6572ba 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -437,7 +437,7 @@ add_default_route ()
is_wireless_device ()
{
- [ -d "/sys/class/net/$1/phy80211" ]
+ [ -d "/sys/class/net/$1/wireless" -o -d "/sys/class/net/$1/phy80211" ]
}
install_bonding_driver ()