Skip to content
Commit 87f55002 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: simplify ieee80211_assign_link_chanctx()



There's no need for a label/goto here, the only thing is
that drv_assign_vif_chanctx() must succeed to set 'conf'
and add the new context to the list, the remaining code
is (and must be) the same regardless.

Reviewed-by: default avatarMiriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Link: https://msgid.link/20240418115219.a94852030d33.I9d647178ab25636372ed79e5312c68a06e0bf60c@changeid


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