ath9k/debug: fixup the return codes
authorDan Carpenter <error27@gmail.com>
Fri, 14 May 2010 13:25:39 +0000 (15:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:08 +0000 (16:13 -0400)
Changed -EINVAL to -EFAULT if copy_to_user() failed.
Changed 0 to -ENOMEM if allocations failed.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found