[DTV00864006][[DTV][Coverity Scanned Code Defect] 142050: Dereference null return value]

[Description]
Fix coverity issue 142050
Add pointer check before referencing

Change-Id: I8aa5de73aff750914e05d81ee66bac7fdf1f8de2
CR-Id: DTV00864006
Signed-off-by: guo-jie.wang <guo-jie.wang@mediatek.com>
(cherry picked from commit fdacaad3c231fcdad447f6c6326870221df8f7da)
diff --git a/os/linux/gl_kal.c b/os/linux/gl_kal.c
index 9885b71..03b8d35 100644
--- a/os/linux/gl_kal.c
+++ b/os/linux/gl_kal.c
@@ -1057,7 +1057,7 @@
 				prBssDesc = ((P_AIS_FSM_INFO_T)
 					     (&(prGlueInfo->prAdapter->rWifiVar.rAisFsmInfo)))->prTargetBssDesc;
 
-				if (prBssDesc != NULL) {
+				if (prChannel && prBssDesc != NULL) {
 #if KERNEL_VERSION(3, 18, 0) <= CFG80211_VERSION_CODE
 					bss = cfg80211_inform_bss(priv_to_wiphy(prGlueInfo),
 								prChannel,