]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Initialize global wpa_supplicant control interface
authorJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 17:21:07 +0000 (20:21 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 17:21:07 +0000 (20:21 +0300)
Signed-hostap: Jouni Malinen <j@w1.fi>

tests/hwsim/start.sh

index 9a76ecb1bf3ffb1b0b0182b5431607eebf0e93aa..c824a47e449ea7ce544876bd68fed80a905dae9e 100755 (executable)
@@ -12,9 +12,9 @@ DATE=`date +%s`
 sudo ifconfig hwsim0 up
 sudo $WLANTEST -i hwsim0 -c -d > $DIR/logs/$DATE-hwsim0 &
 sudo tcpdump -ni hwsim0 -s 2500 -w $DIR/logs/$DATE-hwsim0.dump &
-sudo $WPAS -Dnl80211 -iwlan0 -c $DIR/p2p0.conf -ddKt > $DIR/logs/$DATE-log0 &
-sudo $WPAS -Dnl80211 -iwlan1 -c $DIR/p2p1.conf -ddKt > $DIR/logs/$DATE-log1 &
-sudo $WPAS -Dnl80211 -iwlan2 -c $DIR/p2p2.conf -ddKt > $DIR/logs/$DATE-log2 &
+sudo $WPAS -g @abstract:wpas-wlan0 -Dnl80211 -iwlan0 -c $DIR/p2p0.conf -ddKt > $DIR/logs/$DATE-log0 &
+sudo $WPAS -g @abstract:wpas-wlan1 -Dnl80211 -iwlan1 -c $DIR/p2p1.conf -ddKt > $DIR/logs/$DATE-log1 &
+sudo $WPAS -g @abstract:wpas-wlan2 -Dnl80211 -iwlan2 -c $DIR/p2p2.conf -ddKt > $DIR/logs/$DATE-log2 &
 sudo $HAPD -ddKt -g /var/run/hostapd-global -G admin -ddKt > $DIR/logs/$DATE-hostapd &
 sleep 1
 sudo chown $USER $DIR/logs/$DATE-hwsim0.dump