cnss2: add null pointer check

add null pointer check.

Change-Id: I8a5bbe5037d1f15113e58bb16b90f243ea8ef807
Signed-off-by: Ke Huang <keh@codeaurora.org>
1 file changed