Re: [PATCH 1/2] cfg80211: let's wmm_rule be part of reg_rule structure
From: Stanislaw Gruszka <hidden>
Date: 2018-08-22 15:23:34
From: Stanislaw Gruszka <hidden>
Date: 2018-08-22 15:23:34
On Wed, Aug 22, 2018 at 01:54:27PM +0200, Johannes Berg wrote:
On Wed, 2018-08-22 at 13:52 +0200, Stanislaw Gruszka wrote:quoted
Make wmm_rule be part of reg_rule structure. This simplify code a lot at cost of having bigger memory usage. However in most cases we have only few reg_rule's and when we have many like in iwlwifi we do not save memory as we allocate wmm_rule for each channel.So I think this is fine, but should we "sell" this to stable as well? I guess we don't really have any other fix?
I wanted to delegate that decision to you :-) It's not one-liner, but from other hand patch just remove bunch of code, so should be safe for -stable. Regards Stanislaw