diff options
| author | Joe Perches <[email protected]> | 2021-04-18 01:39:53 -0700 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2021-04-19 11:59:33 +0200 |
| commit | 623b988f2dcbecf3e638ecfaec97cc56a95eaa6a (patch) | |
| tree | 0922b7a068f499dfef579c9d67e534ae74743b02 /include | |
| parent | 5d9c358d05f62aa01ff5d63dae70a897498b0bae (diff) | |
cfg80211: constify ieee80211_get_response_rate return
It's not modified so make it const with the eventual goal of moving
data to text for various static struct ieee80211_rate arrays.
Signed-off-by: Joe Perches <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 528bea585bee..73b17ea89248 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -5607,7 +5607,7 @@ static inline bool cfg80211_channel_is_psc(struct ieee80211_channel *chan) * which is, for this function, given as a bitmap of indices of * rates in the band's bitrate table. */ -struct ieee80211_rate * +const struct ieee80211_rate * ieee80211_get_response_rate(struct ieee80211_supported_band *sband, u32 basic_rates, int bitrate); |