mac80211: refactor freeing the next_beacon
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 May 2022 10:57:32 +0000 (12:57 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 17 May 2022 11:03:34 +0000 (13:03 +0200)
commit0baef28460311a43327e8a5729ecd0ab662b8ab8
tree99e3a768709ce8a71120ff5ab63423549d8a4c27
parentee0e2f51e2115c2578d40e5a8ac33737984fe477
mac80211: refactor freeing the next_beacon

We have this code seven times, refactor it into a
separate function.

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