diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-08-27 13:05:20 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-11 12:32:16 +0200 |
commit | 730eeb17bbdd3c31f91e2a4fff35dd7e9c67d706 (patch) | |
tree | 2c0a3a30d146f4146de485dfde6d5e54d75ea489 /net/wireless/tests/module.c | |
parent | wifi: cfg80211: fix off-by-one in element defrag (diff) | |
download | linux-730eeb17bbdd3c31f91e2a4fff35dd7e9c67d706.tar.xz linux-730eeb17bbdd3c31f91e2a4fff35dd7e9c67d706.zip |
wifi: cfg80211: add first kunit tests, for element defrag
Add a couple of tests for element defragmentation, to
see that the function works correctly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230827135854.e2a5cead1816.I09f0edc19d162b54ee330991c728c1e9aa42ebf6@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
-rw-r--r-- | net/wireless/tests/module.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/wireless/tests/module.c b/net/wireless/tests/module.c new file mode 100644 index 000000000000..9ff7b2c12312 --- /dev/null +++ b/net/wireless/tests/module.c @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * This is just module boilerplate for the cfg80211 kunit module. + * + * Copyright (C) 2023 Intel Corporation + */ +#include <linux/module.h> + +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("tests for cfg80211"); |