diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2023-09-12 06:55:16 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-13 10:20:49 +0200 |
commit | 22446b7ee2bb44fe7a61d8eda6d83bdc726bbbd9 (patch) | |
tree | 65946412c3f3bcf06aba8821d403038882b12911 /net/wireless/util.c | |
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>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions