iwlwifi: fix strict_strtoul error checking
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2008 03:26:39 +0000 (11:26 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Sep 2008 18:23:18 +0000 (14:23 -0400)
commit926f0b2ef24041db876ec7213fbddd7cd4555951
tree694ca2aa5b65bc7f9516333b80d0e7a61388ae30
parent6e21f2c109edd746a10e08186484bae8168cdd0c
iwlwifi: fix strict_strtoul error checking

This patch fixes handling of strcit_strtoul return value
"0 == sucess".

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c