DORMANTno replies

[PATCH] airo.c - don't clear FLAG_RADIO_DOWN on resume

From: Michal Schmidt <hidden>
Date: 2004-08-12 22:25:06

Hello,

According to comments in airo.c the flag FLAG_RADIO_DOWN means:
   Radio disabled via "ifconfig ethX down".
airo_pci_resume clears this flag.
This causes a little problem I can reproduce on my IBM ThinkPad R40 with 
Cisco Aironet mini-PCI card (MPI350) with these steps:
1) ifup eth0 => card works OK, radio status LED indicator is on
2) ifdown eth0 => LED turns off
3) hibernate using swsuspend
4) resume from swsuspend
Result: interface eth0 is down, but the LED indicates that radio is on.
Expected result: interface eth0 is down, so the radio should be off.

I think that airo_pci_resume shouldn't mess with FLAG_RADIO_DOWN. I have 
removed the line and now everything works as expected. One-line patch 
attached.


Michal Schmidt

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help