diff options
author | Jouni Malinen | 2014-10-10 19:52:40 +0200 |
---|---|---|
committer | Johannes Berg | 2014-10-20 16:24:21 +0200 |
commit | 89c771e5a62b856f4705f189892c489190edaec1 (patch) | |
tree | 79c6ced4c94b55bec6b6ec21808e42cc3b21f748 /drivers/net/wireless/ath/wil6210/cfg80211.c | |
parent | cfg80211: set the rates mask in connection probes over specified freq (diff) | |
download | kernel-qcow2-linux-89c771e5a62b856f4705f189892c489190edaec1.tar.gz kernel-qcow2-linux-89c771e5a62b856f4705f189892c489190edaec1.tar.xz kernel-qcow2-linux-89c771e5a62b856f4705f189892c489190edaec1.zip |
cfg80211: Convert del_station() callback to use a param struct
This makes it easier to add new parameters for the del_station calls
without having to modify all drivers that use this.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/cfg80211.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wil6210/cfg80211.c b/drivers/net/wireless/ath/wil6210/cfg80211.c index d9f4b30dd343..8fdfa3222a6e 100644 --- a/drivers/net/wireless/ath/wil6210/cfg80211.c +++ b/drivers/net/wireless/ath/wil6210/cfg80211.c @@ -792,12 +792,13 @@ static int wil_cfg80211_stop_ap(struct wiphy *wiphy, } static int wil_cfg80211_del_station(struct wiphy *wiphy, - struct net_device *dev, const u8 *mac) + struct net_device *dev, + struct station_del_parameters *params) { struct wil6210_priv *wil = wiphy_to_wil(wiphy); mutex_lock(&wil->mutex); - wil6210_disconnect(wil, mac); + wil6210_disconnect(wil, params->mac); mutex_unlock(&wil->mutex); return 0; |