summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTreeve Jelbert2022-11-12 18:10:04 +0100
committerTreeve Jelbert2022-11-13 08:37:27 +0100
commitc3ea6a74611e7d26dcb60f187a19cbdfe2025572 (patch)
tree714c86bb67376529f001b8f0a34a257ab1ae8e8a /net
parent9489e076401a3f2a4d24fb8fa3fe80aa9bd6274b (diff)
wpa_supplicant - use iw
Diffstat (limited to 'net')
-rwxr-xr-xnet/wpa_supplicant/DEPENDS2
-rw-r--r--net/wpa_supplicant/HISTORY1
-rwxr-xr-xnet/wpa_supplicant/init.d/wpa_supplicant2
3 files changed, 3 insertions, 2 deletions
diff --git a/net/wpa_supplicant/DEPENDS b/net/wpa_supplicant/DEPENDS
index db25d6f63d..4107c782dc 100755
--- a/net/wpa_supplicant/DEPENDS
+++ b/net/wpa_supplicant/DEPENDS
@@ -1,5 +1,5 @@
depends -sub CXX gcc &&
-depends wireless_tools &&
+depends iw &&
suggest_depends crda \
"" \
diff --git a/net/wpa_supplicant/HISTORY b/net/wpa_supplicant/HISTORY
index 011b38cd86..5850cdceeb 100644
--- a/net/wpa_supplicant/HISTORY
+++ b/net/wpa_supplicant/HISTORY
@@ -1,5 +1,6 @@
2022-11-12 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 2.10
+ * DEPENDS, init.d/wpa_supplicant: use iw
2021-11-22 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 2.9, SECURITY_PATCH++,
diff --git a/net/wpa_supplicant/init.d/wpa_supplicant b/net/wpa_supplicant/init.d/wpa_supplicant
index 4364129efe..28444f9cee 100755
--- a/net/wpa_supplicant/init.d/wpa_supplicant
+++ b/net/wpa_supplicant/init.d/wpa_supplicant
@@ -13,7 +13,7 @@ DROPFILE=/var/tmp/wpa_supplicant.drop
start()
{
- required_executable /usr/sbin/iwconfig
+ required_executable /usr/sbin/iw
local IWCONFIG=`builtin echo $(/usr/sbin/iwconfig $INTERFACE 2>&1)`
if [[ "$IWCONFIG" == $INTERFACE\ *Access\ Point:\ Not-Associated* ||