commit | 22446b7ee2bb44fe7a61d8eda6d83bdc726bbbd9 | [log] [tgz] |
---|---|---|
author | Dmitry Antipov <dmantipov@yandex.ru> | Tue Sep 12 06:55:16 2023 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Sep 13 10:20:49 2023 +0200 |
tree | 65946412c3f3bcf06aba8821d403038882b12911 | |
parent | 8c73d5248dcf112611654bcd32352dc330b02397 [diff] |
wifi: wext: avoid extra calls to strlen() in ieee80211_bss() Since 'sprintf()' returns the number of characters emitted, an extra calls to 'strlen()' in 'ieee80211_bss()' may be dropped. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Link: https://lore.kernel.org/r/20230912035522.15947-1-dmantipov@yandex.ru Signed-off-by: Johannes Berg <johannes.berg@intel.com>