aboutsummaryrefslogtreecommitdiffstats
path: root/os/various
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-29 16:28:33 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-29 16:28:33 +0000
commit8f5108462576478a2f988ccbf05b4fdc39406fc1 (patch)
tree908fc84f9cb3e4b57d0808dc01aa34c03b45d7f4 /os/various
parentafb884d89c9404922c654e83c8fde7d57de1825e (diff)
downloadChibiOS-8f5108462576478a2f988ccbf05b4fdc39406fc1.tar.gz
ChibiOS-8f5108462576478a2f988ccbf05b4fdc39406fc1.tar.bz2
ChibiOS-8f5108462576478a2f988ccbf05b4fdc39406fc1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4002 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various')
-rw-r--r--os/various/lwip_bindings/lwipthread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c
index 22cdb7066..a1dd2b178 100644
--- a/os/various/lwip_bindings/lwipthread.c
+++ b/os/various/lwip_bindings/lwipthread.c
@@ -118,9 +118,8 @@ static err_t low_level_output(struct netif *netif, struct pbuf *p) {
#endif
/* Iterates through the pbuf chain. */
- for(q = p; q != NULL; q = q->next) {
+ for(q = p; q != NULL; q = q->next)
macWriteTransmitDescriptor(&td, (uint8_t *)q->payload, (size_t)q->len);
- }
macReleaseTransmitDescriptor(&td);
#if ETH_PAD_SIZE
@@ -158,9 +157,8 @@ static struct pbuf *low_level_input(struct netif *netif) {
#endif
/* Iterates through the pbuf chain. */
- for(q = p; q != NULL; q = q->next) {
+ for(q = p; q != NULL; q = q->next)
macReadReceiveDescriptor(&rd, (uint8_t *)q->payload, (size_t)q->len);
- }
macReleaseReceiveDescriptor(&rd);
#if ETH_PAD_SIZE