Skip to content
Commit c6968d4f authored by Anjaneyulu's avatar Anjaneyulu Committed by Johannes Berg
Browse files

wifi: mac80211: pass roc->sdata to drv_cancel_remain_on_channel()



In suspend flow "sdata" is NULL, destroy all roc's which are started.
pass "roc->sdata" to drv_cancel_remain_on_channel() to avoid NULL
dereference and destroy that roc

Signed-off-by: default avatarAnjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230608163202.c678187a308c.Ic11578778655e273931efc5355d570a16465d1be@changeid


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