mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
337bab319c
commit
3f0bfc305e
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue