Matthew Garrett wrote:
> On Wed, Dec 20, 2006 at 03:08:58PM -0600, Larry Finger wrote:
>> +    radio_hw_enable = bcm43xx_is_hw_radio_enabled(bcm);
>> +    if (unlikely(bcm->radio_hw_enable != radio_hw_enable)) {
>> +            bcm->radio_hw_enable = radio_hw_enable;
>> +            printk(KERN_INFO PFX "Radio hardware status changed to %s\n",
>> +                   (radio_hw_enable == 0) ? "disabled" : "enabled");
> 
> Based on discussion on netdev, it seems that the desired behaviour when 
> the radio is disabled is that the interface should be downed. This 
> probably also means that it shouldn't be possible to bring the interface 
> up if the radio is disabled.
> 

I agree that the interface should be downed if the radio is disabled; however, 
I'm concentrating on 
getting the state and changes to it logged, and getting the LED to display 
correctly. Once this part 
is right, then consideration of downing the interface when the radio is 
disabled can be undertaken 
in bcm43xx-d80211. Softmac will be EOL'd by then.

Larry

_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to