wifi: mac80211: simplify airtime_flags_write()

Use 'kstrtou16_from_user()' to simplify 'airtime_flags_write()'.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20260727095714.347039-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Dmitry Antipov 2026-07-27 12:57:14 +03:00 • committed by Johannes Berg
commit 7d86b0a8ac