Commit 91db35da authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by Kalle Valo

ath6kl: Cleanup void * in ath6kl_cfg80211_scan_node()

Signed-off-by: default avatarVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 8a8bc5a4
...@@ -721,9 +721,8 @@ static inline bool is_ch_11a(u16 ch) ...@@ -721,9 +721,8 @@ static inline bool is_ch_11a(u16 ch)
} }
/* struct ath6kl_node_table::nt_nodelock is locked when calling this */ /* struct ath6kl_node_table::nt_nodelock is locked when calling this */
void ath6kl_cfg80211_scan_node(void *arg, struct bss *ni) void ath6kl_cfg80211_scan_node(struct wiphy *wiphy, struct bss *ni)
{ {
struct wiphy *wiphy = (struct wiphy *)arg;
u16 size; u16 size;
unsigned char *ieeemgmtbuf = NULL; unsigned char *ieeemgmtbuf = NULL;
struct ieee80211_mgmt *mgmt; struct ieee80211_mgmt *mgmt;
......
...@@ -177,5 +177,4 @@ struct ath6kl *ath6kl_core_alloc(struct device *sdev); ...@@ -177,5 +177,4 @@ struct ath6kl *ath6kl_core_alloc(struct device *sdev);
int ath6kl_core_init(struct ath6kl *ar); int ath6kl_core_init(struct ath6kl *ar);
int ath6kl_unavail_ev(struct ath6kl *ar); int ath6kl_unavail_ev(struct ath6kl *ar);
struct sk_buff *ath6kl_buf_alloc(int size); struct sk_buff *ath6kl_buf_alloc(int size);
void ath6kl_cfg80211_scan_node(void *arg, struct bss *ni);
#endif /* COMMON_H */ #endif /* COMMON_H */
...@@ -540,4 +540,5 @@ void aggr_recv_addba_req_evt(struct ath6kl *ar, u8 tid, u16 seq_no, ...@@ -540,4 +540,5 @@ void aggr_recv_addba_req_evt(struct ath6kl *ar, u8 tid, u16 seq_no,
void ath6kl_wakeup_event(void *dev); void ath6kl_wakeup_event(void *dev);
void ath6kl_target_failure(struct ath6kl *ar); void ath6kl_target_failure(struct ath6kl *ar);
void ath6kl_cfg80211_scan_node(struct wiphy *wiphy, struct bss *ni);
#endif /* CORE_H */ #endif /* CORE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment