fix setsaddr

This commit is contained in:
Sebastien Lorquet 2015-08-10 14:35:13 +02:00
parent d80fd440b6
commit b533d4b12d

View File

@ -46,7 +46,7 @@
int ieee802154_setsaddr(int fd, uint16_t saddr)
{
int ret = ioctl(fd, MAC854IOCSCHAN, (unsigned long)saddr );
int ret = ioctl(fd, MAC854IOCSSADDR, (unsigned long)saddr );
if (ret<0)
{
printf("MAC854IOCSSADDR failed\n");