summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-11-30 22:50:58 +0100
committerJohannes Berg <johannes.berg@intel.com>2023-12-06 11:50:28 +0100
commit88f29324042752a28245ec0ab285d71c7f4d9c6a (patch)
tree91282e152380746d64ce73b2d9f67838decd0496 /net/wireless/nl80211.h
parentwifi: nl80211: refactor nl80211_send_mlme_event() arguments (diff)
downloadlinux-88f29324042752a28245ec0ab285d71c7f4d9c6a.tar.xz
linux-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 'net/wireless/nl80211.h')
-rw-r--r--net/wireless/nl80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h
index aad40240d9cb..6376f3a87f8a 100644
--- a/net/wireless/nl80211.h
+++ b/net/wireless/nl80211.h
@@ -60,7 +60,7 @@ void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev,
const u8 *buf, size_t len, gfp_t gfp);
void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev,
struct net_device *netdev,
- struct cfg80211_rx_assoc_resp_data *data);
+ const struct cfg80211_rx_assoc_resp_data *data);
void nl80211_send_deauth(struct cfg80211_registered_device *rdev,
struct net_device *netdev,
const u8 *buf, size_t len,