Search Linux Wireless

Re: using ieee80211_restart_hw()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


> In brcmsmac a fatal error in the device results in calling 
> ieee80211_restart_hw(). This was done under the assumption that mac80211 
> would reconfigure everything doing .start(), .add_interface() etc, but 
> looking at a log in redhat bugzilla makes me suspicious about that.
> 
> The only reason I could find in ieee80211_reconfig is that 
> local->open_count would be zero, right?
> 
> At the time of the fatal error AMPDU packets were being transmitted so I 
> assume local->open_count would *not* be zero as it seems to match the 
> state of the netdev interface.

Not sure what you're asking ... restart_hw() should reconfigure
everything just like you said, but maybe your driver is not cleaning up
properly before the restart so something in there fails? restart_hw()
expects to only do start/add_interface etc, not remove_interface/stop
etc.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux