Repaired iwx discovery

This commit is contained in:
Lukas Macura
2016-12-09 17:52:34 +01:00
parent 990f9e3564
commit 9e0f37bd62
+2 -2
View File
@@ -2,9 +2,9 @@
wifi_ifphylist() {
if [ "$1" = "phy" ]; then
iw dev | grep Interface | cut -d ' ' -f 2
else
iw phy | grep Wiphy | cut -d ' ' -f 2
else
iw dev | grep Interface | cut -d ' ' -f 2
fi
}