> for iwl the driver on suspend behave like the device is going down, on > resume the driver reload the firmware and start fresh. the driver does > save some data to restore on resume. Right, I think most drivers/hw behave that way. > I guess we can enhance on this to handle more scenario, but atleast > this is good enough for iwl driver. What happens, for example, when you enable hardware crypto and set a WEP key? With b43, after suspend/resume, mac80211 and the driver think the key is set in hardware, but it was obviously cleared. It would of course be possible to handle that in the driver, but I'd prefer it to be done in mac80211 because then the driver doesn't need all the extra code. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part