wirelessdoesn't connect when resuming from suspend/hibernate

hi,

my wireless connection always hangs on resume and i have to manually connect using ‘ifup’

I tried to create an rc.local in /etc/rc.d as suggested in another thread but it doesn’t help.

Now when I ifup the wlan, although connected I get the following error message:

wlan0 device: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LANController (rev 20)
command ‘iwconfig wlan0 nick linux-w4br’ returned
Error for wireless request “Set Nickname” (8B1C) :
SET failed on device wlan0 ; Operation not supported.
Starting DHCP4 client on wlan0. . . .
wlan0 IP address: 10.0.1.4/24

any clues?

thanks