mac80211: simplify ieee80211_add_station()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 May 2021 21:07:57 +0000 (23:07 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 09:00:26 +0000 (11:00 +0200)
commit4ebdce1dcbd44099b0e68db859b21d97b051492c
treeee6d9eb83318a66b740347deafdbd9536cbfe695
parentf057d1403689309c6277961d5c348d4841959a9c
mac80211: simplify ieee80211_add_station()

There's no need to do some kind of weird err and RCU dance
just use sta_info_insert() directly.

Link: https://lore.kernel.org/r/20210517230754.55abd10056c0.I6f5a3b7b23347b2cdaf64e6d5ce1d9e904059654@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c