mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 09:14:18 -04:00
qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_disa.c
The Linux Coding Style enumerates a few special cases where typedefs are useful, but stresses "NEVER EVER use a typedef unless you can clearly match one of those rules." The hdd_adapter_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: I545c47380905eaeece9a2a25e0adb9bae1b90ce8 CRs-Fixed: 2101068
This commit is contained in:
parent
1595095836
commit
c7f3ded03a
1 changed files with 3 additions and 3 deletions
|
|
@ -168,7 +168,7 @@ encrypt_decrypt_policy[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_MAX + 1] = {
|
|||
*/
|
||||
static int hdd_fill_encrypt_decrypt_params(struct encrypt_decrypt_req_params
|
||||
*encrypt_decrypt_params,
|
||||
hdd_adapter_t *adapter,
|
||||
struct hdd_adapter *adapter,
|
||||
const void *data,
|
||||
int data_len)
|
||||
{
|
||||
|
|
@ -352,7 +352,7 @@ static void hdd_encrypt_decrypt_context_dealloc(void *priv)
|
|||
*
|
||||
Return: 0 on success, negative errno on failure
|
||||
*/
|
||||
static int hdd_encrypt_decrypt_msg(hdd_adapter_t *adapter,
|
||||
static int hdd_encrypt_decrypt_msg(struct hdd_adapter *adapter,
|
||||
struct hdd_context *hdd_ctx,
|
||||
const void *data,
|
||||
int data_len)
|
||||
|
|
@ -432,7 +432,7 @@ static int __wlan_hdd_cfg80211_encrypt_decrypt_msg(struct wiphy *wiphy,
|
|||
{
|
||||
struct hdd_context *hdd_ctx = wiphy_priv(wiphy);
|
||||
struct net_device *dev = wdev->netdev;
|
||||
hdd_adapter_t *adapter = NULL;
|
||||
struct hdd_adapter *adapter = NULL;
|
||||
int ret;
|
||||
|
||||
ENTER_DEV(dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue