wlan: Correct the Fix for SA Query Timeout

A fix was made for a problem that occurred when in station mode
where an SA Query procedure initiated with the AP would always
time out.  That fix was incorrect.  It fixed the problem when in
station mode, but broke the SA Query procedure when in soft AP
mode.

The problem was that all SA Query Response frames were
registered to be passed up to the supplicant or hostapd.  In fact,
SA Query Response frames should only be delivered to the
supplicant when in station mode.  This fix insures that SA Query
Response frames are passed up only in station mode and allows
them to be processed in LIM for soft AP mode.

Change-Id: I018a306e2aff1968cd0d5dc59ab58e3cd60ece8b
CRs-Fixed: 649809
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 7db1f95..d59018b 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -975,13 +975,6 @@
     sme_RegisterMgmtFrame(hHal, pAdapter->sessionId, type,
                          (v_U8_t*)WNM_NOTIFICATION_FRAME,
                                   WNM_NOTIFICATION_FRAME_SIZE );
-
-#ifdef WLAN_FEATURE_11W
-    /* SA Query Response Action Frame */
-    sme_RegisterMgmtFrame(hHal, pAdapter->sessionId, type,
-                         (v_U8_t*)SA_QUERY_FRAME_RSP,
-                                  SA_QUERY_FRAME_RSP_SIZE );
-#endif /* WLAN_FEATURE_11W */
 }
 
 void wlan_hdd_cfg80211_pre_voss_stop(hdd_adapter_t* pAdapter)
@@ -1025,13 +1018,6 @@
     sme_DeregisterMgmtFrame(hHal, pAdapter->sessionId, type,
                          (v_U8_t*)WNM_NOTIFICATION_FRAME,
                                   WNM_NOTIFICATION_FRAME_SIZE );
-
-#ifdef WLAN_FEATURE_11W
-    /* SA Query Response Action Frame */
-    sme_DeregisterMgmtFrame(hHal, pAdapter->sessionId, type,
-                         (v_U8_t*)SA_QUERY_FRAME_RSP,
-                                  SA_QUERY_FRAME_RSP_SIZE );
-#endif /* WLAN_FEATURE_11W */
 }
 
 #ifdef FEATURE_WLAN_WAPI