FIX/workaround: If you have trouble with reconnection and when you do ifconfig you have my issue of wifi0 being present from boot but not resuming from suspend/hibernate,
open
/usr/lib/pm-utils/sleep.d/10NetworkManager
thaw|resume)
ifconfig wifi0 up <--
resume_nm
add that line assuming this is the virtual device (for you as it is for me) that madwifi creates along with ath0.
You don't need to add ath0 if that seems to show up after resume.
NM reconnects Wifi every time - so far for me anyway.
FIX/workaround: If you have trouble with reconnection and when you do ifconfig you have my issue of wifi0 being present from boot but not resuming from suspend/hibernate,
open
/usr/lib/ pm-utils/ sleep.d/ 10NetworkManage r
thaw|resume)
ifconfig wifi0 up <--
resume_nm
add that line assuming this is the virtual device (for you as it is for me) that madwifi creates along with ath0.
You don't need to add ath0 if that seems to show up after resume.
NM reconnects Wifi every time - so far for me anyway.