aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2013-12-02 14:25:38 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-12-02 14:25:38 -0500
commit4b074b07625f603d40d4d04937f8874a00415dc4 (patch)
tree2dffdc46e3fea0320524f483cf5ac2c058ab59f2 /drivers/net/wireless/ath/ath6kl
parent7d68849f40cd9169088249cc889d95c8998c3fb8 (diff)
parentddcc347b70f298f9d624cd0e250581d831d915fb (diff)
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl')
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 2437ad26949d..fd4c89df67e1 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -1109,7 +1109,9 @@ void ath6kl_cfg80211_ch_switch_notify(struct ath6kl_vif *vif, int freq,
1109 (mode == WMI_11G_HT20) ? 1109 (mode == WMI_11G_HT20) ?
1110 NL80211_CHAN_HT20 : NL80211_CHAN_NO_HT); 1110 NL80211_CHAN_HT20 : NL80211_CHAN_NO_HT);
1111 1111
1112 mutex_lock(&vif->wdev.mtx);
1112 cfg80211_ch_switch_notify(vif->ndev, &chandef); 1113 cfg80211_ch_switch_notify(vif->ndev, &chandef);
1114 mutex_unlock(&vif->wdev.mtx);
1113} 1115}
1114 1116
1115static int ath6kl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *ndev, 1117static int ath6kl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *ndev,
@@ -3169,12 +3171,15 @@ static bool ath6kl_is_p2p_go_ssid(const u8 *buf, size_t len)
3169} 3171}
3170 3172
3171static int ath6kl_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, 3173static int ath6kl_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev,
3172 struct ieee80211_channel *chan, bool offchan, 3174 struct cfg80211_mgmt_tx_params *params, u64 *cookie)
3173 unsigned int wait, const u8 *buf, size_t len,
3174 bool no_cck, bool dont_wait_for_ack, u64 *cookie)
3175{ 3175{
3176 struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); 3176 struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev);
3177 struct ath6kl *ar = ath6kl_priv(vif->ndev); 3177 struct ath6kl *ar = ath6kl_priv(vif->ndev);
3178 struct ieee80211_channel *chan = params->chan;
3179 const u8 *buf = params->buf;
3180 size_t len = params->len;
3181 unsigned int wait = params->wait;
3182 bool no_cck = params->no_cck;
3178 u32 id, freq; 3183 u32 id, freq;
3179 const struct ieee80211_mgmt *mgmt; 3184 const struct ieee80211_mgmt *mgmt;
3180 bool more_data, queued; 3185 bool more_data, queued;