[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] RFCOMM: rfcomm_send_data() return value



Hi,

I am wondering about the return value of rfcomm_send_data (current CVS 
snapshot). The input is a buffer of "count" bytes:
- if an error occures, it returns a negative value (error code),
- if all data could be sent, "count" is returned,
- if an error occures after sending some bytes, it also returns the 
error code.

Shouldn't in the last case the number of successfully sent bytes be 
returned?

br, Ulrich

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com