]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41922b26c95d826f8858ccf71dcb418d74588067
treea55ca2ae902d5efe776942ee485cb476dcd3cf2f
parentaee6ae22d5af6389adcc2b33236242ed6f60bdf3
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