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
Este commit está contenido en:
Wu Gao
2017-03-23 13:38:13 +08:00
cometido por Abhishek Singh
padre dc79e0759c
commit 6d7909cdbe

Ver fichero

@@ -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);