This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 037146990ccf188a0486a24140295523ab457360
Author: raiden00pl <[email protected]>
AuthorDate: Thu Oct 22 17:47:04 2026 +0200

    wireless/ieee802154/i8sak: fix the tx command
    
    With -d or -m the option string was sent as the payload instead of the
    payload argument, and each tx confirm left a post on sigsem that ended
    the next poll or assoc early.
    
    Assisted-by: Claude Code
    Signed-off-by: raiden00pl <[email protected]>
---
 wireless/ieee802154/i8sak/i8sak_tx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/wireless/ieee802154/i8sak/i8sak_tx.c 
b/wireless/ieee802154/i8sak/i8sak_tx.c
index 58aef303c..4f43559f9 100644
--- a/wireless/ieee802154/i8sak/i8sak_tx.c
+++ b/wireless/ieee802154/i8sak/i8sak_tx.c
@@ -115,7 +115,7 @@ void i8sak_tx_cmd(FAR struct i8sak_s *i8sak, int argc, FAR 
char *argv[])
 
   if (argc == argind + 1)
     {
-      i8sak->payload_len = i8sak_str2payload(argv[1], i8sak->payload);
+      i8sak->payload_len = i8sak_str2payload(argv[argind], i8sak->payload);
     }
 
   if (sendmax)
@@ -282,7 +282,5 @@ static void tx_eventcb(FAR struct ieee802154_primitive_s 
*primitive,
              g_ieee802154_status_string[primitive->u.dataconf.status]);
     }
 
-  sem_post(&i8sak->sigsem);
-
   i8sak_releasedaemon(i8sak);
 }

Reply via email to