Merge remote-tracking branch 'origin/master' into netiob

This commit is contained in:
Gregory Nutt
2014-06-23 11:36:03 -06:00
4 changed files with 10 additions and 5 deletions
+5
View File
@@ -7468,3 +7468,8 @@
* include/time.h and sched/clock_gettime.c: Fix typo in conditional * include/time.h and sched/clock_gettime.c: Fix typo in conditional
compilation: CONFIG_CLOCK_MONOTONIC vs. CLOCK_MONOTONIC. From Manuel compilation: CONFIG_CLOCK_MONOTONIC vs. CLOCK_MONOTONIC. From Manuel
Stühn (2014-6-23). Stühn (2014-6-23).
* arch/avr/Kconfig and arch/avr/src/avr32/Kconfig: Fix typos in
Kconfig files from Stefan Sperling (2014-6-23).
* net/net_send_unbuffered.c: Remove some spurious white space from
field selectors. SourceForge ticket #42 (2014-6-23).
+1 -1
View File
@@ -22,7 +22,7 @@ config ARCH_CHIP_AT90USB
Atmel AT90USB family of 8-bit AVRs. Atmel AT90USB family of 8-bit AVRs.
config ARCH_CHIP_AT32UC3 config ARCH_CHIP_AT32UC3
bool "AVR23 AT32UC3* family" bool "AVR32 AT32UC3* family"
select ARCH_FAMILY_AVR32 select ARCH_FAMILY_AVR32
---help--- ---help---
Atmel AT32UC3A/B/C family of 32-bit AVR32s. Atmel AT32UC3A/B/C family of 32-bit AVR32s.
+1 -1
View File
@@ -16,7 +16,7 @@ config AVR32_AVRTOOLSW
depends on HOST_WINDOWS depends on HOST_WINDOWS
config AVR32_AVRTOOLSL config AVR32_AVRTOOLSL
bool "AVR tools for Windows" bool "AVR tools for Linux"
depends on HOST_LINUX depends on HOST_LINUX
endchoice # Toolchain endchoice # Toolchain
+3 -3
View File
@@ -680,7 +680,7 @@ ssize_t tcpsend(FAR struct socket *psock, FAR const void *buf, size_t len,
save = uip_lock(); save = uip_lock();
memset(&state, 0, sizeof(struct send_s)); memset(&state, 0, sizeof(struct send_s));
(void)sem_init(&state. snd_sem, 0, 0); /* Doesn't really fail */ (void)sem_init(&state.snd_sem, 0, 0); /* Doesn't really fail */
state.snd_sock = psock; /* Socket descriptor to use */ state.snd_sock = psock; /* Socket descriptor to use */
state.snd_buflen = len; /* Number of bytes to send */ state.snd_buflen = len; /* Number of bytes to send */
state.snd_buffer = buf; /* Buffer to send from */ state.snd_buffer = buf; /* Buffer to send from */
@@ -725,7 +725,7 @@ ssize_t tcpsend(FAR struct socket *psock, FAR const void *buf, size_t len,
* automatically re-enabled when the task restarts. * automatically re-enabled when the task restarts.
*/ */
ret = uip_lockedwait(&state. snd_sem); ret = uip_lockedwait(&state.snd_sem);
/* Make sure that no further interrupts are processed */ /* Make sure that no further interrupts are processed */
@@ -733,7 +733,7 @@ ssize_t tcpsend(FAR struct socket *psock, FAR const void *buf, size_t len,
} }
} }
sem_destroy(&state. snd_sem); sem_destroy(&state.snd_sem);
uip_unlock(save); uip_unlock(save);
/* Set the socket state to idle */ /* Set the socket state to idle */