]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: cfg80211: sme: store capped length in __cfg80211_connect_result()
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 3 Dec 2025 11:14:47 +0000 (14:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Dec 2025 09:22:51 +0000 (10:22 +0100)
commit2b77b9551d1184cb5af8271ff350e6e2c1b3db0d
tree4d27e6707ba5bff1d842580a0b18ac65050cfaa7
parentcbf0dc37bb4e949f1c76566657e71f8e0bdcf338
wifi: cfg80211: sme: store capped length in __cfg80211_connect_result()

The QGenie AI code review tool says we should store the capped length to
wdev->u.client.ssid_len.  The AI is correct.

Fixes: 62b635dcd69c ("wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result()")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aTAbp5RleyH_lnZE@stanley.mountain
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/sme.c