[riot-notifications] [RIOT-OS/RIOT] drivers/at86rf215: fix dependency resolution for 2.4 GHz (#15444)

benpicco notifications at github.com
Sun Nov 15 16:39:36 CET 2020



<!--
The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.
-->

### Contribution description

With the last cleanup an error sneaked in:
Now the 2.4 GHz interface is disabled, when the `at86rf215m` module (chip with sub-GHz radio only) is *not* used.

This is the reverse of what should happen.


### Testing procedure

Flash e.g. `examples/gnrc_networking` on a board with the `at86rf215` radio.

You should again have two radio interfaces instead of only the sub-GHz one as it is on `master`.

```
2020-11-15 16:33:30,768 # Iface  7  HWaddr: 11:F1  Channel: 26  Page: 0  NID: 0x23  PHY: O-QPSK 
2020-11-15 16:33:30,769 #           
2020-11-15 16:33:30,783 #           Long HWaddr: AE:8D:FE:E1:60:41:91:F1 
2020-11-15 16:33:30,785 #            TX-Power: 0dBm  State: IDLE  max. Retrans.: 3  CSMA Retries: 4 
2020-11-15 16:33:30,786 #           AUTOACK  ACK_REQ  CSMA  L2-PDU:102  MTU:1280  HL:64  RTR  
2020-11-15 16:33:30,799 #           6LO  IPHC  
2020-11-15 16:33:30,800 #           Source address length: 8
2020-11-15 16:33:30,800 #           Link type: wireless
2020-11-15 16:33:30,802 #           inet6 addr: fe80::ac8d:fee1:6041:91f1  scope: link  VAL
2020-11-15 16:33:30,814 #           inet6 group: ff02::2
2020-11-15 16:33:30,815 #           inet6 group: ff02::1
2020-11-15 16:33:30,816 #           inet6 group: ff02::1:ff41:91f1
2020-11-15 16:33:30,817 #           
2020-11-15 16:33:30,818 #           Statistics for Layer 2
2020-11-15 16:33:30,819 #             RX packets 0  bytes 0
2020-11-15 16:33:30,831 #             TX packets 2 (Multicast: 2)  bytes 112
2020-11-15 16:33:30,832 #             TX succeeded 2 errors 0
2020-11-15 16:33:30,832 #           Statistics for IPv6
2020-11-15 16:33:30,833 #             RX packets 0  bytes 0
2020-11-15 16:33:30,834 #             TX packets 2 (Multicast: 2)  bytes 128
2020-11-15 16:33:30,847 #             TX succeeded 2 errors 0
2020-11-15 16:33:30,847 # 
2020-11-15 16:33:30,849 # Iface  6  HWaddr: 11:F0  Channel: 0  Page: 2  NID: 0x23  PHY: O-QPSK 
2020-11-15 16:33:30,850 #           
2020-11-15 16:33:30,851 #           Long HWaddr: AE:8D:FE:E1:60:41:91:F0 
2020-11-15 16:33:30,864 #            TX-Power: 0dBm  State: IDLE  max. Retrans.: 3  CSMA Retries: 4 
2020-11-15 16:33:30,865 #           AUTOACK  ACK_REQ  CSMA  L2-PDU:102  MTU:1280  HL:64  RTR  
2020-11-15 16:33:30,866 #           6LO  IPHC  
2020-11-15 16:33:30,879 #           Source address length: 8
2020-11-15 16:33:30,880 #           Link type: wireless
2020-11-15 16:33:30,882 #           inet6 addr: fe80::ac8d:fee1:6041:91f0  scope: link  VAL
2020-11-15 16:33:30,883 #           inet6 group: ff02::2
2020-11-15 16:33:30,894 #           inet6 group: ff02::1
2020-11-15 16:33:30,895 #           inet6 group: ff02::1:ff41:91f0
2020-11-15 16:33:30,896 #           
2020-11-15 16:33:30,896 #           Statistics for Layer 2
2020-11-15 16:33:30,897 #             RX packets 0  bytes 0
2020-11-15 16:33:30,898 #             TX packets 2 (Multicast: 2)  bytes 112
2020-11-15 16:33:30,911 #             TX succeeded 2 errors 0
2020-11-15 16:33:30,912 #           Statistics for IPv6
2020-11-15 16:33:30,917 #             RX packets 0  bytes 0
2020-11-15 16:33:30,919 #             TX packets 2 (Multicast: 2)  bytes 128
2020-11-15 16:33:30,919 #             TX succeeded 2 errors 0
```


### Issues/PRs references

<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15444

-- Commit Summary --

  * drivers/at86rf215: fix dependency resolution for 2.4 GHz

-- File Changes --

    M drivers/at86rf215/Makefile.dep (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15444.patch
https://github.com/RIOT-OS/RIOT/pull/15444.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15444
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201115/cdab0a02/attachment-0001.htm>


More information about the notifications mailing list