[WCNCR00166439] p2p: Fix the p2p free policy to avoid Kernel crash and memory leakage.

[Description]
Fix the p2p free policy to avoid Kernel crash and memory leakage.

Change-Id: Ie06011319ba018a5f383cfdda3a5988ca826cf2c
Signed-off-by: Th3 Huang <th3.huang@mediatek.com>
CR-Id: WCNCR00166439
Feature: p2p
2 files changed