wifi: mac80211: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 4 Jul 2022 19:16:09 +0000 (21:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jul 2022 08:21:25 +0000 (10:21 +0200)
commit37babce9127f3145366a8f36334f24afa9a5d196
treea55ca2ae902d5efe776942ee485cb476dcd3cf2f
parent68608f9991bdb69472b2217758018896185dd2e2
wifi: mac80211: Use the bitmap API to allocate bitmaps

Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.

It is less verbose and it improves the semantic.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/dfb438a6a199ee4c95081fa01bd758fd30e50931.1656962156.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c