Re: [v2] rtlwifi: constify rate_control_ops structure

From: Kalle Valo
Date: Tue Aug 08 2017 - 07:53:27 EST


Bhumika Goyal <bhumirks@xxxxxxxxx> wrote:

> rate_control_ops structure is only passed as an argument to the
> function ieee80211_rate_control_{register/unregister}. This argument
> is of type const, so declare the structure as const.
>
> Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

cb1b82625de7 rtlwifi: constify rate_control_ops structure

--
https://patchwork.kernel.org/patch/9884393/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches