Re: [Ipw2100-devel] 2.6.32-rc4 ipw2200: oops on missing firmware

"John W. Linville" <[email protected]> Thu, 15 Oct 2009 08:59:33 -0400
Newsgroups gmane.linux.kernel,gmane.linux.drivers.ipw2100.devel,gmane.linux.kernel.wireless.general
Message-ID <[email protected]>
On Thu, Oct 15, 2009 at 02:50:28PM +0800, Zhu Yi wrote:

> OK. The rfkill device is removed without being added before! The root
> cause is, for non-monitor interfaces, the syntax for
> alloc_ieee80211/free_80211 is wrong. Because alloc_ieee80211 only
> creates (wiphy_new) a wiphy, but free_80211() does wiphy_unregister()
> also. This is only correct when the later wiphy_register() is called
> successfully, which apparently is not the case for your fw doesn't exist
> one. Please see if this patch fix the problem.
> 
> Signed-off-by: Zhu Yi <[email protected]>

Thanks, Zhu!  That certainly looks better than what I had.

John
-- 
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.