summaryrefslogtreecommitdiff
path: root/net/wireless/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-12-01 00:50:58 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-12-06 13:50:28 +0300
commit88f29324042752a28245ec0ab285d71c7f4d9c6a (patch)
tree91282e152380746d64ce73b2d9f67838decd0496 /net/wireless/mlme.c
parentccf7dd94c7a710a095a56e786a5e0e819618c597 (diff)
downloadlinux-88f29324042752a28245ec0ab285d71c7f4d9c6a.tar.xz
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/mlme.c')
-rw-r--r--net/wireless/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c
index bad9e4fd842f..f635a8b6ca2e 100644
--- a/net/wireless/mlme.c
+++ b/net/wireless/mlme.c
@@ -22,7 +22,7 @@
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 wireless_dev *wdev = dev->ieee80211_ptr;
struct wiphy *wiphy = wdev->wiphy;