Benjamin Valentin
0f4c5f5b10
drivers/at86rf2xx: fix assert
...
The assert is reversed. It must check if the config value does not
exceed the maximum address length, not the other way round.
previously this would lead to a crash when setting a short address:
2020-08-23 13:59:56,080 # ifconfig 7 set addr_short 2
2020-08-23 13:59:56,081 # 0xdcad
2020-08-23 13:59:56,083 # *** RIOT kernel panic:
2020-08-23 13:59:56,085 # FAILED ASSERTION.
With this it works as expected
2020-08-23 14:05:07,988 # ifconfig 7 set addr_short 2
2020-08-23 14:05:07,992 # success: set (short) address on interface 7 to 2
2020-08-23 14:05:52 +02:00
..
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-08-23 14:05:52 +02:00
2020-08-21 15:33:19 +02:00
2020-07-20 14:32:16 +02:00
2020-07-31 13:38:03 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2017-07-03 20:43:51 +02:00
2020-03-26 11:12:23 +01:00
2020-07-31 13:38:03 +02:00
2020-08-04 13:56:49 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-04-28 13:14:52 +02:00
2020-08-17 22:53:51 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-31 13:38:03 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-08-21 21:30:14 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-31 13:38:03 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-05-12 12:02:05 +02:00
2020-05-06 20:24:27 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-06-25 13:40:30 +02:00
2020-06-25 13:40:48 +02:00
2018-03-28 11:19:09 +02:00
2020-07-31 13:38:03 +02:00
2018-06-11 19:10:40 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-08-12 12:22:40 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-28 10:38:01 +02:00
2020-07-28 10:38:01 +02:00
2020-07-20 14:32:16 +02:00
2020-07-30 16:35:35 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-29 14:49:17 +02:00
2020-08-20 13:41:32 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-04-28 18:17:31 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-07-20 14:32:16 +02:00
2020-06-26 13:09:33 +02:00
2020-06-17 14:52:21 +05:30
2020-05-22 15:52:03 +05:30
2020-03-04 16:13:40 +01:00
2020-07-30 16:35:35 +02:00