During reset_bss we were incrementing the ref
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 29 Jan 2008 07:08:29 +0000 (07:08 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 29 Jan 2008 07:08:29 +0000 (07:08 +0000)
commit2411a87efc3e0f980842985b2de94e1a66d211e4
treefa23f4cba1b6c0be8832b3a896a0b27cd2522231
parent602be360fc7fbd4dd278263dc8465752b975f2b5
During reset_bss we were incrementing the ref
count of the new bss node.  The allocation
function gives us a reference.  With this extra
reference, every invocation of reset_bss was
causing a leak of one node ~4kb every time the
interface was brought back up (or the BSS was reset
for other reasons).

This fixes ticket #1682.  I can run ifconfig down/up
cycle for a long time.  I'll run it overnight next
to be sure.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3301 0192ed92-7a03-0410-a25b-9323aeb14dbd
net80211/ieee80211_node.c