[WCNCR00146896] misc: Fix iwpriv stat kernel panic issue.

[Description]
Fix iwpriv wlanx driver stat kernel panic caused of no sanity.
Add input parameter number sanity check to prevent kernel panic.

Change-Id: I08802991419e3d7ac2902433d97ba63b441fd81d
Feature: misc
Signed-off-by: wayne.guo <wayne.guo@mediatek.com>
CR-Id: WCNCR00146896
1 file changed