diff options
author | Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> | 2018-01-22 13:46:31 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-24 17:00:50 +0100 |
commit | 39845020b39eea4a1e5db9ea4818a967b567e2e2 (patch) | |
tree | 51a6a5e92f61f4d9c7f606d3c1325f6e227b3101 /drivers | |
parent | qtnfmac: validate interface combinations on changes (diff) | |
download | linux-39845020b39eea4a1e5db9ea4818a967b567e2e2.tar.xz linux-39845020b39eea4a1e5db9ea4818a967b567e2e2.zip |
qtnfmac: fix STA disconnect procedure
STA does not reconnect to the same AP after disconnect. The reason is
that STA is marked as disconnected in cfg80211 disconnect callback.
This is too early since in this case qtnfmac event handler skips
cfg80211_disconnected call when processing disconnect event from
the card. As a result, wdev is left in an inconsistent state.
Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/quantenna/qtnfmac/cfg80211.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c b/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c index 91830fd41508..edebf23e8eae 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +++ b/drivers/net/wireless/quantenna/qtnfmac/cfg80211.c @@ -679,7 +679,6 @@ qtnf_disconnect(struct wiphy *wiphy, struct net_device *dev, return ret; } - vif->sta_state = QTNF_STA_DISCONNECTED; return 0; } |