On Fri, 2008-10-31 at 20:31 +0100, Ivo van Doorn wrote: > Hmm, it looks like CSR base is NULL, after which the H2M_MAILBOX_CSR > offset is added to it (0x2100) > > The strange part is thet CSR is freed and set to NULL _after_ the > rt2x00lib_remove_dev() call... > Oh wait never mind, I get the picture, I missed the "ejected _while_ suspended" > part. I think what is happening is that first the suspend handler is called, > and during resume not the resume handler but the remove handler is running, > and rt2x00 doesn't protect against that. > > Could you check if below patch does the trick? If I am not mistaken only the > LED handler actually accesses the hardware to make sure they are off. Now it crashes in config_pairwise_key or something like that, I can send you the image if you want. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part