Преглед на файлове

qcacmn: revert temp support legacy P2P by new scan component

Add a temp changes to support ROC with new scan module. Now new P2P
component lunch and revert this change.

Change-Id: I133c80bf73cee70ac39d9a7a62791ddb6421914b
CRs-Fixed: 2023647
Wu Gao преди 8 години
родител
ревизия
6d7909cdbe
променени са 1 файла, в които са добавени 0 реда и са изтрити 11 реда
  1. 0 11
      target_if/scan/src/target_if_scan.c

+ 0 - 11
target_if/scan/src/target_if_scan.c

@@ -35,8 +35,6 @@ inline uint32_t get_scan_event_id(void)
 {
 	return WMI_SCAN_EVENTID;
 }
-extern int wma_scan_event_callback(ol_scn_t handle, uint8_t *data,
-	uint32_t len);
 #else
 inline uint32_t get_scan_event_id(void)
 {
@@ -84,15 +82,6 @@ target_if_scan_event_handler(ol_scn_t scn, uint8_t *data, uint32_t datalen)
 		return -EINVAL;
 	}
 
-#ifdef CONFIG_MCL
-	/* temp change for p2p ROC*/
-#define ROC_SCAN_REQUESTOR_ID   0xB000
-	if (ROC_SCAN_REQUESTOR_ID == event_info->event.requester) {
-		qdf_mem_free(event_info);
-		return wma_scan_event_callback(scn, data, datalen);
-	}
-#endif
-
 	scan_rx_ops = target_if_scan_get_rx_ops(psoc);
 	if (scan_rx_ops->scan_ev_handler) {
 		status = scan_rx_ops->scan_ev_handler(psoc, event_info);