diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-07-09 08:34:09 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-07-09 08:49:56 +0200 |
commit | 6e909f489191b365364e9d636dec33b5dfd4e5eb (patch) | |
tree | 2601f3f06981f8e5165c5964d172db9970585731 /net/mac80211 | |
parent | b3603133d3b727b0b07a7094ab74cf27c8aee3bd (diff) |
wifi: virt_wifi: don't use strlen() in const context
Looks like not all compilers allow strlen(constant) as
a constant, so don't do that. Instead, revert back to
defining the length as the first submission had it.
Fixes: b5d14b0c6716 ("wifi: virt_wifi: avoid reporting connection success with wrong SSID")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407090934.NnR1TUbW-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202407090944.mpwLHGt9-lkp@intel.com/
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions