diff --git a/pkg/semtech-loramac/contrib/semtech_loramac_radio.c b/pkg/semtech-loramac/contrib/semtech_loramac_radio.c
index 84072a5658e0adc36443d52798869a96a0b4df57..8d2d8cb8e0481b8bb8fb12f829537e99309d8779 100644
--- a/pkg/semtech-loramac/contrib/semtech_loramac_radio.c
+++ b/pkg/semtech-loramac/contrib/semtech_loramac_radio.c
@@ -136,10 +136,11 @@ uint32_t SX127XGetTimeOnAir(RadioModems_t modem, uint8_t pktLen)
 void SX127XSend(uint8_t *buffer, uint8_t size)
 {
     netdev_t *dev = (netdev_t *)&sx127x;
-    struct iovec vec[1];
-    vec[0].iov_base = buffer;
-    vec[0].iov_len = size;
-    dev->driver->send(dev, vec, 1);
+    iolist_t iol = {
+        .iol_base = buffer,
+        .iol_len = size
+    };
+    dev->driver->send(dev, &iol);
 }
 
 void SX127XSetSleep(void)