Wifi card not working after resume from suspend

Wireless card (brand is intel) does not work after i suspend the system (thinkpad x230) gets suspended with Fn-F4.
Code:
ifconfig wlan0 down
ifconfig wlan0 up
service netif stop
service netif start
dhclient wlan0
arent fixing the problem. Any idea whats the cause? I suspect its something kernel related. Thanks.
By the way is there another freebsd key combination that suspends the system?
 
Here is the solution worked to me:

Code:
ifconfig wlan0 destroy
service netif restart

This assumes that you have in /etc/rc.conf staff that will creates wlan0 interface back again, eg: wlans_rtw880="wlan0"
 
Back
Top