diff options
author | Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> | 2017-09-22 00:34:34 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-09-25 11:27:16 +0300 |
commit | 8c015b9067d608e59a1486b8618eac9e0bd2952f (patch) | |
tree | aa05792480163d43c64aef04adc5866a5c4b0147 /drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | |
parent | 3656ab0fef5b29e95d251e3f0a0bfb7da311337a (diff) | |
download | linux-8c015b9067d608e59a1486b8618eac9e0bd2952f.tar.xz |
qtnfmac: pass VIF info to SendChannel command
Do not assume whether wireless device can or can not handle switching
several interfaces on a single radio to different channels. Device will
handle it itself and will return appropriate error code.
Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna/qtnfmac/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c b/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c index 4590f3038120..30f8be554406 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +++ b/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c @@ -846,7 +846,7 @@ static int qtnf_channel_switch(struct wiphy *wiphy, struct net_device *dev, return -EINVAL; } - ret = qtnf_cmd_send_chan_switch(mac, params); + ret = qtnf_cmd_send_chan_switch(vif, params); if (ret) pr_warn("%s: failed to switch to channel (%u)\n", dev->name, params->chandef.chan->hw_value); |