summaryrefslogtreecommitdiffstats
path: root/include/net/caif/cfpkt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/caif/cfpkt.h')
-rw-r--r--include/net/caif/cfpkt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/caif/cfpkt.h b/include/net/caif/cfpkt.h
index 1c1ad46250d5..fe328c52c46b 100644
--- a/include/net/caif/cfpkt.h
+++ b/include/net/caif/cfpkt.h
@@ -171,7 +171,7 @@ struct cfpkt *cfpkt_split(struct cfpkt *pkt, u16 pos);
* @return Checksum of buffer.
*/
-u16 cfpkt_iterate(struct cfpkt *pkt,
+int cfpkt_iterate(struct cfpkt *pkt,
u16 (*iter_func)(u16 chks, void *buf, u16 len),
u16 data);