From 3f0bfc305e4e99e8ade7644f23ad1e0e712fb434 Mon Sep 17 00:00:00 2001 From: Nandha Kishore Easwaran Date: Thu, 15 Dec 2016 15:57:04 +0530 Subject: [PATCH] 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 --- dp/inc/cdp_txrx_cmn_reg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dp/inc/cdp_txrx_cmn_reg.h b/dp/inc/cdp_txrx_cmn_reg.h index c63da28e73bb..b98b94ca44d1 100644 --- a/dp/inc/cdp_txrx_cmn_reg.h +++ b/dp/inc/cdp_txrx_cmn_reg.h @@ -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; }