All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] brcm80211: remove multiple calls to wl_release_fw
@ 2011-02-12 15:00 Stanislav Fomichev
  2011-02-14 19:59 ` Roland Vossen
  2011-02-18 20:57 ` Greg KH
  0 siblings, 2 replies; 9+ messages in thread
From: Stanislav Fomichev @ 2011-02-12 15:00 UTC (permalink / raw)
  To: brudley, gregkh; +Cc: linux-wireless

This causes an oops when the bcm43xx_hdr-0.fw binary is not found.

Signed-off-by: Stanislav Fomichev <s@fomichev.me>
---
 drivers/staging/brcm80211/sys/wl_mac80211.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/brcm80211/sys/wl_mac80211.c b/drivers/staging/brcm80211/sys/wl_mac80211.c
index cd8392b..5faa521 100644
--- a/drivers/staging/brcm80211/sys/wl_mac80211.c
+++ b/drivers/staging/brcm80211/sys/wl_mac80211.c
@@ -1767,7 +1767,6 @@ static int wl_request_fw(struct wl_info *wl, struct pci_dev *pdev)
 		if (status) {
 			printf("%s: fail to load firmware %s\n",
 				KBUILD_MODNAME, fw_name);
-			wl_release_fw(wl);
 			return status;
 		}
 		WL_NONE("request fw %s\n", fw_name);
@@ -1777,7 +1776,6 @@ static int wl_request_fw(struct wl_info *wl, struct pci_dev *pdev)
 		if (status) {
 			printf("%s: fail to load firmware %s\n",
 				KBUILD_MODNAME, fw_name);
-			wl_release_fw(wl);
 			return status;
 		}
 		wl->fw.hdr_num_entries[i] =
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-19  9:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-12 15:00 [PATCH] brcm80211: remove multiple calls to wl_release_fw Stanislav Fomichev
2011-02-14 19:59 ` Roland Vossen
2011-02-14 20:22   ` Dan Carpenter
2011-02-14 20:40     ` Roland Vossen
2011-02-14 21:03       ` Stanislav Fomichev
2011-02-14 21:07     ` Stanislav Fomichev
2011-02-14 21:20       ` Dan Carpenter
2011-02-18 20:57 ` Greg KH
2011-02-19  9:03   ` Stanislav Fomichev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.