[WCNCR00147874] oftap: 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: Ib2ef7983c861056653801500ba0e261199c27101
Feature: softap
Signed-off-by: Th3 Huang <th3.huang@mediatek.com>
CR-Id: WCNCR00147874
1 file changed