wimax/i2400m: don't overwrite error codes when failing to load firmware
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Tue, 15 Sep 2009 22:25:20 +0000 (15:25 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:56:04 +0000 (15:56 +0900)
commitcb5b756f746b77c5323ae413a41e9a40ea33c453
tree9fc7d2d16a0945f644cc742ea0c7bb4db4459df8
parent1a5a73c0c5459f991b871855eb36099df65ecb7e
wimax/i2400m: don't overwrite error codes when failing to load firmware

Make sure that i2400m_dev_bootstrap() doesn't overwrite the last known
error code with -ENOENT; when a firmware fails to load, we want to
know the cause and not a generic error code.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/fw.c