diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2006-09-12 16:29:04 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-09-25 16:52:16 -0400 |
commit | 8aeb9fc5699f1b3c64ba152910f7c5c075c3a93a (patch) | |
tree | 9363f785dfed04cc3eddb6e4d55b431ca0d53277 | |
parent | b2f206f4a711b0b1e6d3cdca52e919a986aceada (diff) |
[PATCH] bcm43xx-softmac: improve wrong firmware message
An error message is changed to a printk as the original dprintk
would be optimized away if debugging were not enabled. If the error
is triggered, a more meaningful message is returned.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index cb9a3ae8463a..b02e50d2ca32 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -2405,9 +2405,10 @@ static int bcm43xx_chip_init(struct bcm43xx_private *bcm) | |||
2405 | BCM43xx_UCODE_TIME) & 0x1f); | 2405 | BCM43xx_UCODE_TIME) & 0x1f); |
2406 | 2406 | ||
2407 | if ( value16 > 0x128 ) { | 2407 | if ( value16 > 0x128 ) { |
2408 | dprintk(KERN_ERR PFX | 2408 | printk(KERN_ERR PFX |
2409 | "Firmware: no support for microcode rev > 0x128\n"); | 2409 | "Firmware: no support for microcode extracted " |
2410 | err = -1; | 2410 | "from version 4.x binary drivers.\n"); |
2411 | err = -EOPNOTSUPP; | ||
2411 | goto err_release_fw; | 2412 | goto err_release_fw; |
2412 | } | 2413 | } |
2413 | 2414 | ||