wifi: mac80211: Drop stations iterator where the iterator function may sleep
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 26 Dec 2022 19:16:09 +0000 (20:16 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jan 2023 10:05:51 +0000 (11:05 +0100)
commit952f6c9daf509f7919887c26753884fa530f8622
treebe33ec8690baa9208fb29e633cb03263806db3ba
parent44bacbdf9066c590423259dbd6d520baac99c1a8
wifi: mac80211: Drop stations iterator where the iterator function may sleep

This reverts commit acb99b9b2a08f ("mac80211: Add stations iterator
where the iterator function may sleep"). A different approach was found
for the rtw88 driver where most of the problematic locks were converted
to a driver-local mutex. Drop ieee80211_iterate_stations() because there
are no users of that function.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20221226191609.2934234-1-martin.blumenstingl@googlemail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/util.c