diff options
author | Ming Yen Hsieh <mingyen.hsieh@mediatek.com> | 2023-11-22 11:06:45 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-12-11 13:11:53 +0100 |
commit | d0a2bc5fe712217d2c73822ae75fd4e69a15cb2c (patch) | |
tree | 787ae47c7f1a083e825d05ccbf658a4b68d4c339 /rust/kernel | |
parent | fa6ad88e023ddfa6c5dcdb466d159e89f451e305 (diff) |
wifi: mt76: mt7921: fix CLC command timeout when suspend/resume
When enter suspend/resume while in a connected state, the upper layer
will trigger disconnection before entering suspend, and at the same time,
it will trigger regd_notifier() and update CLC, causing the CLC event to
not be received due to suspend, resulting in a command timeout.
Therefore, the update of CLC is postponed until resume, to ensure data
consistency and avoid the occurrence of command timeout.
Fixes: 4fc8df50fd41 ("wifi: mt76: mt7921: get regulatory information from the clc event")
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions