add test for iwlagn not working after suspend
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
695fa51bbf
commit
062b0a61e8
1 changed files with 7 additions and 0 deletions
7
linux/t_suspend_iwconfig_loop.sh
Executable file
7
linux/t_suspend_iwconfig_loop.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Nico Schottelius
|
||||||
|
# Script to test if iwlagn wlan associated or not after suspend
|
||||||
|
# run in screen, started via ssh
|
||||||
|
|
||||||
|
while true; do echo mem > /sys/power/state ; dmesg; ip link set wlan0 down; ip link set wlan0 up; iwconfig wlan0 essid public; sleep 5; iwconfig wlan0; sleep 5; echo =========; iwconfig wlan0 essid public; sleep 5; iwconfig wlan0; read test ; done
|
||||||
|
|
Loading…
Reference in a new issue