2 # This script is run on resume to force a down and up of any linux-wlanng
3 # iterfaces. Otherwise they could get into a weird state.
4 IFACES=$(ifconfig | grep -B 1 ^wlan | cut -d ' ' -f 1)
5 for iface in $IFACES; do
6 echo down $ifcase >>/tmp/log
7 ifdown $iface || ifconfig $iface down
10 rmmod prism2_pci 2>/dev/null
11 rmmod prism2_usb 2>/dev/null
12 rmmod prism2_cs 2>/dev/null
13 rmmod prism2_plx 2>/dev/null
14 rmmod p80211 2>/dev/null
16 # There is a race here for some reason.
19 for iface in $IFACES; do