diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-04-24 14:34:09 -0700 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-04-24 15:44:57 -0700 |
commit | 87ca6bff33a59f3375fed04c8313ffcf3609aeb1 (patch) | |
tree | 2d69094b126f464252bba87827f199b14df50f07 /include | |
parent | efc932f5d576b672c1f6a263446354053e314413 (diff) |
libwimaxll: wimaxll_recv() doesn't use -ENODATA internally
wimaxll_revc() was returning -ENODATA when an unknown message was
received from the kernel -- this really makes no sense as there is
nothing the client can really do about it.
As well, if no callback was executed, it is considered to be still not
a failure (and thus, don't return -EINPROGRESS).
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/wimaxll.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wimaxll.h b/include/wimaxll.h index c2469f2..87253bb 100644 --- a/include/wimaxll.h +++ b/include/wimaxll.h @@ -242,6 +242,11 @@ struct nlattr; * * Callbacks are always passed a pointer to a private context as set * by the application. + * + * Callbacks can return -%EBUSY to have wimaxll_recv() stop processing + * messages and pass control to the caller (which will see it + * returning -%EBUSY). Callbacks *SHOULD NOT* return -%EINPROGRESS, as + * it is used internally by wimaxll_recv(). */ |