tests: Add start/stop scripts and configuration files
[mech_eap.git] / tests / hwsim / stop-wifi.sh
1 #!/bin/sh
2
3 sudo killall -q hostapd
4 sudo killall -q wpa_supplicant
5 if grep -q mac80211_hwsim /proc/modules ; then
6     sudo rmmod mac80211_hwsim 
7 fi