Skip to content
Commit bdeca45a authored by Borwankar, Antara's avatar Borwankar, Antara Committed by Johannes Berg
Browse files

mac80211: set SDATA_STATE_RUNNING for monitor interfaces



During restarrt, mac80211 is supposed to reconfigure the driver.
When there's a monitor interface, the interface is added and the
channel context for it was created, but not assigned to it as it
was not considered running during the restart.

Fix this by setting SDATA_STATE_RUNNING while adding monitor
interfaces.

Signed-off-by: default avatarBorwankar, Antara <antara.borwankar@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201129172929.e1df99693a4c.I494579f28018c2d0b9d4083a664cf872c28405ae@changeid


[reword commit log]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent f495acd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment