Subject: b43: Change firmware missing message to refer to openSUSE script
From: Larry Finger <Larry.Finger@lwfinger.net>
Patch-mainline: never, openSUSE-specific
The error message output by b43 contains instructions for obtaining
firmware; however, this naturally does not take account of the script
/usr/sbin/install_bcm43xx_firmware. Modify the messages to suggest use
of the script.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Modified-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
---
drivers/net/wireless/broadcom/b43/main.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
--- a/drivers/net/wireless/broadcom/b43/main.c
+++ b/drivers/net/wireless/broadcom/b43/main.c
@@ -2173,10 +2173,13 @@ static void b43_release_firmware(struct
static void b43_print_fw_helptext(struct b43_wl *wl, bool error)
{
const char text[] =
- "You must go to " \
- "http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware " \
- "and download the correct firmware for this driver version. " \
- "Please carefully read all instructions on this website.\n";
+ "Please open a terminal and enter the command " \
+ "\"sudo /usr/sbin/install_bcm43xx_firmware\" to download " \
+ "the correct firmware for this driver version. " \
+ "For an off-line installation, go to " \
+ "http://en.opensuse.org/HCL/Network_Adapters_(Wireless)/" \
+ "Broadcom_BCM43xx and follow the instructions in the " \
+ "\"Installing firmware from RPM packages\" section.\n";
if (error)
b43err(wl, text);