diff options
author | Jiawen Wu <jiawenwu@trustnetic.com> | 2025-02-21 14:57:18 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-24 18:13:00 -0800 |
commit | a3ad653c915990fcbb72f9d41c94628255278abc (patch) | |
tree | 4fa496e43f44686005fb9cafdf1db3520012ce2a /rust/helpers/security.c | |
parent | 2e5af6b2ae85328051f2ecb1b7fe64cdd835c8e9 (diff) |
net: wangxun: Replace the judgement of MAC type with flags
Since device MAC types are constantly being added, the judgments of
wx->mac.type are complex. Try to convert the types to flags depending
on functions.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20250221065718.197544-2-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions