mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Replace hdd_context_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_context_t typedef does not meet any of those criteria, so replace references to it with a reference to the underlying struct. Change-Id: Ia1b151d2590493b15422bd600dedb427a6eb39db CRs-Fixed: 2100152
This commit is contained in:
parent
03f8f3611d
commit
2cd9211f2f
1 changed files with 3 additions and 3 deletions
|
|
@ -112,7 +112,7 @@ static void hdd_encrypt_decrypt_msg_cb(void *cookie,
|
|||
*
|
||||
* Return: none
|
||||
*/
|
||||
static int hdd_post_encrypt_decrypt_msg_rsp(hdd_context_t *hdd_ctx,
|
||||
static int hdd_post_encrypt_decrypt_msg_rsp(struct hdd_context *hdd_ctx,
|
||||
struct sir_encrypt_decrypt_rsp_params *encrypt_decrypt_rsp_params)
|
||||
{
|
||||
struct sk_buff *skb;
|
||||
|
|
@ -353,7 +353,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,
|
||||
hdd_context_t *hdd_ctx,
|
||||
struct hdd_context *hdd_ctx,
|
||||
const void *data,
|
||||
int data_len)
|
||||
{
|
||||
|
|
@ -430,7 +430,7 @@ static int __wlan_hdd_cfg80211_encrypt_decrypt_msg(struct wiphy *wiphy,
|
|||
const void *data,
|
||||
int data_len)
|
||||
{
|
||||
hdd_context_t *hdd_ctx = wiphy_priv(wiphy);
|
||||
struct hdd_context *hdd_ctx = wiphy_priv(wiphy);
|
||||
struct net_device *dev = wdev->netdev;
|
||||
hdd_adapter_t *adapter = NULL;
|
||||
int ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue