diff options
author | Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> | 2022-02-07 14:42:03 +0200 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-02-16 16:13:01 -0600 |
commit | 5ab6ade834808da692bdd264e97a64eea6dbd1f6 (patch) | |
tree | 43837ea357bc726b045302e8051c1b5be658a90c | |
parent | 0fdc09373bf31169c7b58c10513d3dcfe82cf133 (diff) | |
download | mts-io-5ab6ade834808da692bdd264e97a64eea6dbd1f6.tar.gz mts-io-5ab6ade834808da692bdd264e97a64eea6dbd1f6.tar.bz2 mts-io-5ab6ade834808da692bdd264e97a64eea6dbd1f6.zip |
mtcap3: fix sysfs radio attributes for no-radio devices
-rw-r--r-- | io-module/machine/mtcap3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io-module/machine/mtcap3.c b/io-module/machine/mtcap3.c index 5b2871a..0be5be6 100644 --- a/io-module/machine/mtcap3.c +++ b/io-module/machine/mtcap3.c @@ -415,9 +415,9 @@ static struct attribute *mtcap3_0_0_platform_attributes[] = { &dev_attr_led_lora_gpio_mtcap3.attr, &dev_attr_led_power_gpio_mtcap3.attr, - /* Set to NULL if no radio -- should be 1st radio attribute */ - &dev_attr_radio_reset_mtcap3.attr, + /* Set to NULL if no radio -- radio_power should be 1st radio attribute */ &dev_attr_radio_power_mtcap3.attr, + &dev_attr_radio_reset_mtcap3.attr, &dev_attr_radio_power_monitor_mtcap3.attr, &dev_attr_radio_reset_backoffs.attr, |