cfg80211: don't BUG_ON BSS struct issues
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Nov 2012 21:14:56 +0000 (22:14 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 30 Nov 2012 12:41:24 +0000 (13:41 +0100)
commitb629ea3db4c0da4465ffa532914e4a3081f93cdf
treebbebaf3d20ded0b389a83458571734c2595a29b4
parent41e31b8b902397d5d507b275050fcbe8adaf4ff4
cfg80211: don't BUG_ON BSS struct issues

There's no need to stop the machine, just leak
the BSS entry if there's an issue with its hold
counter when freeing.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c