]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: refactor some link setup code
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 May 2022 21:01:50 +0000 (23:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:55:24 +0000 (12:55 +0200)
commit7a2a80b12b48038259ebe0444e9fb81375bce4bc
tree0d03ad35dd667da1fe4a3e2eda1b50fa4e86a5fc
parent73fd5e1f67e8f54ac55415d168322ed6c362257f
wifi: mac80211: refactor some link setup code

We don't need to setup lists and work structs every time
we switch the interface type, factor that out into a new
ieee80211_link_init() function and use it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c