ath9k: Fix write callback of 'debug' which configures debug mask
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Tue, 2 Jun 2009 13:58:55 +0000 (19:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:06:15 +0000 (14:06 -0400)
Handle error condition on copy_from_user() properly and
make sure a NUL terminated char[] is sent to strict_strtoul()
for proper conversion.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found