RIOT/drivers
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-08-23 14:05:52 +02:00
2020-07-31 13:38:03 +02:00
2018-06-11 19:10:40 +02:00
2020-08-20 13:41:32 +02:00
2020-06-17 14:52:21 +05:30
2020-05-22 15:52:03 +05:30