[CONNECTOR]: Return proper error code in cn_call_callback()
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 4 Jan 2008 09:52:02 +0000 (01:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2008 11:55:37 +0000 (03:55 -0800)
Error code should be set to EINVAL instead of ENODEV if !queue_work().
There's another call of queue_work() which may set err to EINVAL.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found