diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-11-30 22:50:58 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-12-06 11:50:28 +0100 |
commit | 88f29324042752a28245ec0ab285d71c7f4d9c6a (patch) | |
tree | 91282e152380746d64ce73b2d9f67838decd0496 /include/net | |
parent | ccf7dd94c7a710a095a56e786a5e0e819618c597 (diff) | |
download | linux-stable-88f29324042752a28245ec0ab285d71c7f4d9c6a.tar.gz linux-stable-88f29324042752a28245ec0ab285d71c7f4d9c6a.tar.bz2 linux-stable-88f29324042752a28245ec0ab285d71c7f4d9c6a.zip |
wifi: cfg80211: make RX assoc data const
This is just a collection of data and we only read it,
so make it const.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-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 d36ad4cedf3b..d59669d86718 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -7312,7 +7312,7 @@ struct cfg80211_rx_assoc_resp_data { * This function may sleep. The caller must hold the corresponding wdev's mutex. */ void cfg80211_rx_assoc_resp(struct net_device *dev, - struct cfg80211_rx_assoc_resp_data *data); + const struct cfg80211_rx_assoc_resp_data *data); /** * struct cfg80211_assoc_failure - association failure data |