<p></p>
<p><b>@benpicco</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/13743#discussion_r419468024">drivers/nrf24l01p_ng/nrf24l01p_ng_netdev.c</a>:</p>
<pre style='color:#555'>> +    if (nrf24l01p_ng_acquire(dev) < 0) {
+        DEBUG("[nrf24l01p_ng] _init(): nrf24l01p_ng_acquire() failed\n");
+        return -EIO;
+    }
+    if (dev->state != NRF24L01P_NG_STATE_POWER_DOWN) {
+        nrf24l01p_ng_transition_to_power_down(dev);
+    }
+    nrf24l01p_ng_flush_tx(dev);
+    nrf24l01p_ng_flush_rx(dev);
+    uint8_t addr_size = NRF24L01P_NG_ADDR_WIDTH;
+    uint8_t pipes = 0;
+    uint8_t cnt = 1; /* counter assures that the LSB is different
+                        for all pipe addresses*/
+    uint8_t addr_p0[] = NRF24L01P_NG_L2ADDR_AUTO;
+    if (!memcmp(dev->params.urxaddr.rxaddrpx.rx_p0, addr_p0, addr_size)) {
+        luid_base(dev->params.urxaddr.rxaddrpx.rx_p0, addr_size);
</pre>
<blockquote>
<p>Just call <code>luid_get()</code> in a loop until the address differs.</p>
</blockquote>
<p>I just want to speak out against suggesting such hacks - if <code>luid_get()</code> was broken such that it doesn't fullfill it's single purpose, we should fix it instead of adding hacks around it <g-emoji class="g-emoji" alias="wink" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f609.png">😉</g-emoji></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/13743#discussion_r419468024">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDROGLXINBKUSL4NMLRP3ETTANCNFSM4LVQHLCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYCSBLGMNXTFZIG5VS3RP3ETTA5CNFSM4LVQHLCKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODASDRIA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/13743#discussion_r419468024",
"url": "https://github.com/RIOT-OS/RIOT/pull/13743#discussion_r419468024",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>