summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-08-23 13:29:22 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-08-28 14:49:38 -0400
commit4b93fd297fe9914e41099d37194f7acc6a1ccb48 (patch)
tree06a5ba3abef5b24d67bc4232c9979ddd041adcfd /drivers/net/wireless/ath/ath9k/main.c
parenta09798f4abb30f13f141e24ae496ba75e97995da (diff)
downloadlwn-4b93fd297fe9914e41099d37194f7acc6a1ccb48.tar.gz
lwn-4b93fd297fe9914e41099d37194f7acc6a1ccb48.zip
ath9k: Fix function argument type
ath9k_vif_iter() was earlier used as an iterator routine when calling a mac80211 utility. This is no longer the case and hence we can mention the argument type explicitly. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index e31f130b5137..bc7a780a2400 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -893,9 +893,9 @@ static bool ath9k_uses_beacons(int type)
}
}
-static void ath9k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif)
+static void ath9k_vif_iter(struct ath9k_vif_iter_data *iter_data,
+ u8 *mac, struct ieee80211_vif *vif)
{
- struct ath9k_vif_iter_data *iter_data = data;
int i;
if (iter_data->has_hw_macaddr) {