Return-path: Received: from iolanthe.rowland.org ([192.131.102.54]:36955 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752367Ab0ALOcz (ORCPT ); Tue, 12 Jan 2010 09:32:55 -0500 Date: Tue, 12 Jan 2010 09:32:53 -0500 (EST) From: Alan Stern To: Johannes Berg cc: John Linville , linux-wireless Subject: Re: [PATCH 2.6.33] cfg80211: fix refcount imbalance when wext is disabled In-Reply-To: <1263222897.29743.2.camel@johannes.local> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 11 Jan 2010, Johannes Berg wrote: > When CONFIG_CFG80211_WEXT is not set, there is > a refcount imbalance with rdev->opencount, fix > that by moving it out of the ifdef. > > Reported-by: Alan Stern > Signed-off-by: Johannes Berg I confirm that this fixes hang in rmmod. And enabling CONFIG_CFG80211_WEXT fixes the issue about the wireless card not working. Tested-by: Alan Stern Alan Stern