[riot-notifications] [RIOT-OS/RIOT] pkg/nimble: add IP-over-BLE support via netif/GNRC (#11578)

Hauke Petersen notifications at github.com
Mon May 27 15:28:43 CEST 2019


haukepetersen commented on this pull request.



> +    /* finally dispatch the receive packet to GNRC */
+    if (!gnrc_netapi_dispatch_receive(payload->type, GNRC_NETREG_DEMUX_CTX_ALL,
+                                      payload)) {
+        gnrc_pktbuf_release(payload);
+    }
+
+end:
+    /* copy the receive data and free the mbuf */
+    os_mbuf_free_chain(rxb);
+    /* free the mbuf and allocate a new one for receiving new data */
+    rxb = os_mbuf_get_pkthdr(&_mbuf_pool, 0);
+    /* due to buffer provisioning, there should always be enough space */
+    assert(rxb != NULL);
+    ble_l2cap_recv_ready(event->receive.chan, rxb);
+
+    return ret;

nope, its a leftover. Will remove

-- 
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/11578#discussion_r287791136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190527/7a40eeec/attachment.html>


More information about the notifications mailing list