qcacmn: Add scn parameter to ol_txrx_soc_attach

Add an extra parameter scn in ol_txrx_soc_attach which is used
for calling pdev_attach. scn is a handle for each radio interface.

Change-Id: I6c4b1835d3a1c0b19724d62a67961bff4e296284
This commit is contained in:
Nandha Kishore Easwaran 2016-12-15 15:57:04 +05:30 • committed by qcabuildsw
commit 3f0bfc305e

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -30,7 +30,7 @@
#define LITHIUM_DP 0xfffe/*FIXME Add Litium device ID */
/* Use these device IDs for attach in future */
ol_txrx_soc_handle ol_txrx_soc_attach(struct ol_if_ops *dp_ol_if_ops);
ol_txrx_soc_handle ol_txrx_soc_attach(void *scn_handle, struct ol_if_ops *dp_ol_if_ops);
#ifdef QCA_WIFI_QCA8074
void *dp_soc_attach_wifi3(void *osif_soc, void *hif_handle,
@ -67,7 +67,7 @@ static inline ol_txrx_soc_handle cdp_soc_attach(u_int16_t devid,
qdf_dev, dp_ol_if_ops);
break;
default:
return ol_txrx_soc_attach(dp_ol_if_ops);
return ol_txrx_soc_attach(scn, dp_ol_if_ops);
}
return NULL;
}