OSDN Git Service

mac80211: split beacon retrieval functions
authorAloka Dixit <alokad@codeaurora.org>
Wed, 6 Oct 2021 04:09:36 +0000 (21:09 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Oct 2021 15:25:16 +0000 (17:25 +0200)
commita6e34fde48e8af923284d56d610b6c4a7035e514
tree1fc4f78b7ae8eb3f1578ebd84179d9ea60d1686a
parent97981d89a1d47942a2d7517631d2400b99fe3f93
mac80211: split beacon retrieval functions

Split __ieee80211_beacon_get() into a separate function for AP mode
ieee80211_beacon_get_ap().
Also, move the code common to all modes (AP, adhoc and mesh) to
a separate function ieee80211_beacon_get_finish().

Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
Link: https://lore.kernel.org/r/20211006040938.9531-2-alokad@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c