Remove dangling white space
This commit is contained in:
parent
85b15a595f
commit
3563a05fcd
@ -122,7 +122,7 @@ void i8sak_acceptassoc_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[]
|
||||
printf("cannot open %s, errno=%d\n", i8sak->devname, errno);
|
||||
i8sak_cmd_error(i8sak);
|
||||
}
|
||||
|
||||
|
||||
ieee802154_setassocpermit(fd, true);
|
||||
|
||||
if (!optcnt)
|
||||
|
@ -105,7 +105,7 @@ void i8sak_chan_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
||||
i8sak_cmd_error(i8sak); /* This exits for us */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!getchan)
|
||||
{
|
||||
if (argc < argind + 1)
|
||||
@ -113,7 +113,7 @@ void i8sak_chan_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
||||
fprintf(stderr, "ERROR: missing channel\n");
|
||||
i8sak_cmd_error(i8sak); /* This exits for us */
|
||||
}
|
||||
|
||||
|
||||
channel = i8sak_str2luint8(argv[argind]);
|
||||
}
|
||||
|
||||
@ -124,7 +124,7 @@ void i8sak_chan_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
||||
i8sak_cmd_error(i8sak);
|
||||
}
|
||||
|
||||
if (getchan)
|
||||
if (getchan)
|
||||
{
|
||||
ieee802154_getchan(fd, &channel);
|
||||
printf("i8sak: Channel: %d\n", (int)channel);
|
||||
|
@ -105,7 +105,7 @@ void i8sak_scan_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
||||
|
||||
optind = -1;
|
||||
return;
|
||||
|
||||
|
||||
case 'p':
|
||||
scan.type = IEEE802154_SCANTYPE_PASSIVE;
|
||||
break;
|
||||
@ -144,7 +144,7 @@ void i8sak_scan_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
||||
|
||||
scan.duration = 5;
|
||||
scan.chpage = i8sak->chpage;
|
||||
|
||||
|
||||
/* Parse channel list */
|
||||
|
||||
sscanf(argv[argind], "%d-%d", &minchannel, &maxchannel);
|
||||
|
@ -109,7 +109,7 @@ void i8sak_tx_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
||||
sendasdev = true;
|
||||
argind++;
|
||||
break;
|
||||
|
||||
|
||||
case 'm':
|
||||
sendmax = true;
|
||||
argind++;
|
||||
@ -135,7 +135,7 @@ void i8sak_tx_cmd(FAR struct i8sak_s *i8sak, int argc, FAR char *argv[])
|
||||
{
|
||||
i8sak->payload_len = i8sak_str2payload(argv[1], &i8sak->payload[0]);
|
||||
}
|
||||
|
||||
|
||||
if (sendmax)
|
||||
{
|
||||
i8sak->payload_len = IEEE802154_MAX_SAFE_MAC_PAYLOAD_SIZE;
|
||||
|
@ -47,16 +47,16 @@ CSRCS += ieee802154_resetreq.c ieee802154_rxenabreq.c ieee802154_scanreq.c
|
||||
CSRCS += ieee802154_setreq.c ieee802154_startreq.c ieee802154_syncreq.c
|
||||
CSRCS += ieee802154_pollreq.c ieee802154_enableevents.c
|
||||
# Add Get/Set Attribute helpers
|
||||
CSRCS += ieee802154_setchan.c ieee802154_getchan.c
|
||||
CSRCS += ieee802154_setpanid.c ieee802154_getpanid.c
|
||||
CSRCS += ieee802154_setsaddr.c ieee802154_getsaddr.c
|
||||
CSRCS += ieee802154_seteaddr.c ieee802154_geteaddr.c
|
||||
CSRCS += ieee802154_setpromisc.c ieee802154_getpromisc.c
|
||||
CSRCS += ieee802154_setrxonidle.c ieee802154_getrxonidle.c
|
||||
CSRCS += ieee802154_settxpwr.c ieee802154_gettxpwr.c
|
||||
CSRCS += ieee802154_setchan.c ieee802154_getchan.c
|
||||
CSRCS += ieee802154_setpanid.c ieee802154_getpanid.c
|
||||
CSRCS += ieee802154_setsaddr.c ieee802154_getsaddr.c
|
||||
CSRCS += ieee802154_seteaddr.c ieee802154_geteaddr.c
|
||||
CSRCS += ieee802154_setpromisc.c ieee802154_getpromisc.c
|
||||
CSRCS += ieee802154_setrxonidle.c ieee802154_getrxonidle.c
|
||||
CSRCS += ieee802154_settxpwr.c ieee802154_gettxpwr.c
|
||||
CSRCS += ieee802154_getdevmode.c ieee802154_setassocpermit.c
|
||||
|
||||
ifeq ($(CONFIG_NET_6LOWPAN),y)
|
||||
ifeq ($(CONFIG_NET_6LOWPAN),y)
|
||||
# Add Get/Set Attribute helpers
|
||||
CSRCS += sixlowpan_assocreq.c sixlowpan_assocresp.c sixlowpan_disassocreq.c
|
||||
CSRCS += sixlowpan_getreq.c sixlowpan_gtsreq.c sixlowpan_orphanresp.c
|
||||
@ -64,14 +64,14 @@ CSRCS += sixlowpan_resetreq.c sixlowpan_rxenabreq.c sixlowpan_scanreq.c
|
||||
CSRCS += sixlowpan_setreq.c sixlowpan_startreq.c sixlowpan_syncreq.c
|
||||
CSRCS += sixlowpan_pollreq.c
|
||||
# Add IOCTL helpers
|
||||
CSRCS += sixlowpan_setchan.c sixlowpan_getchan.c
|
||||
CSRCS += sixlowpan_setpanid.c sixlowpan_getpanid.c
|
||||
CSRCS += sixlowpan_setsaddr.c sixlowpan_getsaddr.c
|
||||
CSRCS += sixlowpan_seteaddr.c sixlowpan_geteaddr.c
|
||||
CSRCS += sixlowpan_setpromisc.c sixlowpan_getpromisc.c
|
||||
CSRCS += sixlowpan_setrxonidle.c sixlowpan_getrxonidle.c
|
||||
CSRCS += sixlowpan_settxpwr.c sixlowpan_gettxpwr.c
|
||||
endif
|
||||
CSRCS += sixlowpan_setchan.c sixlowpan_getchan.c
|
||||
CSRCS += sixlowpan_setpanid.c sixlowpan_getpanid.c
|
||||
CSRCS += sixlowpan_setsaddr.c sixlowpan_getsaddr.c
|
||||
CSRCS += sixlowpan_seteaddr.c sixlowpan_geteaddr.c
|
||||
CSRCS += sixlowpan_setpromisc.c sixlowpan_getpromisc.c
|
||||
CSRCS += sixlowpan_setrxonidle.c sixlowpan_getrxonidle.c
|
||||
CSRCS += sixlowpan_settxpwr.c sixlowpan_gettxpwr.c
|
||||
endif
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
ifeq ($(CONFIG_WIRELESS_IWPAN),y)
|
||||
|
||||
CSRCS =
|
||||
CSRCS =
|
||||
MAINSRC = iwpan.c
|
||||
|
||||
DEPPATH += --dep-path src
|
||||
|
@ -1,16 +1,16 @@
|
||||
Copyright (c) 2010, Volkan YAZICI <volkan.yazici@gmail.com>
|
||||
All rights reserved.
|
||||
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
|
||||
- Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
|
||||
- Redistributions in binary form must reproduce the above copyright notice, this
|
||||
list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
|
Loading…
Reference in New Issue
Block a user