Merge "ath10k: fix the invalid STA disconnect after wow resume"
This commit is contained in:
commit
c70b573a90
1 changed files with 2 additions and 0 deletions
|
@ -471,6 +471,7 @@ static void ath10k_wow_op_report_wakeup_reason(struct ath10k *ar)
|
|||
struct cfg80211_wowlan_wakeup *wakeup = &ar->wow.wakeup;
|
||||
struct ath10k_vif *arvif;
|
||||
|
||||
memset(wakeup, 0, sizeof(struct cfg80211_wowlan_wakeup));
|
||||
switch (ar->wow.wakeup_reason) {
|
||||
case WOW_REASON_UNSPECIFIED:
|
||||
wakeup = NULL;
|
||||
|
@ -488,6 +489,7 @@ static void ath10k_wow_op_report_wakeup_reason(struct ath10k *ar)
|
|||
wakeup->gtk_rekey_failure = true;
|
||||
break;
|
||||
}
|
||||
ar->wow.wakeup_reason = WOW_REASON_UNSPECIFIED;
|
||||
|
||||
if (wakeup) {
|
||||
wakeup->pattern_idx = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue