From: Dan Williams Date: Thu, 29 May 2008 18:38:28 +0000 (-0400) Subject: ipw2200: expire and use oldest BSS on adhoc create X-Git-Tag: v2.6.26-rc5~1^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d4eae80157830af9c9d80de2daf6611696a34e;p=pandora-kernel.git ipw2200: expire and use oldest BSS on adhoc create If there are no networks on the free list, expire the oldest one when creating a new adhoc network. Because ipw2200 and the ieee80211 stack don't actually cull old networks and place them back on the free list unless they are needed for new probe responses, over time the free list would become empty and creating an adhoc network would fail due to the ! list_empty(...) check. Signed-off-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed