[WCNCR00147874] softap: Fix bug of Stop AP flow

[Description]
Fix the bug of p2pFuncDissolve().
p2pFuncDissolve() will call p2pFuncDisconnect() and
it may delete the client node from rStaRecOfClientList List.
and the LINK_FOR_EACH_ENTRY loop corrupted and lost
the prCurrStaRec->Next pointer.

Change-Id: I942d9c337acec45e380cf8ef5dc90a255cfc3129
Feature: softap
CR-Id: WCNCR00147874
Signed-off-by: Th3 Huang <th3.huang@mediatek.com>
1 file changed