Skip to content
Commit 8526f8c8 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: nl80211: clean up coalescing rule handling



There's no need to allocate a tiny struct and then
an array again, just allocate the two together and
use __counted_by(). Also unify the freeing.

Reviewed-by: default avatarMiriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240523120213.48a40cfb96f9.Ia02bf8f8fefbf533c64c5fa26175848d4a3a7899@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 6322e0e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment