summaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-24 13:36:46 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-24 13:36:46 +0000
commitba1ff83059e39e77c43fbc2d5a4c5bc0a641c43a (patch)
tree92ee10c505de8ba967c1fa1397aa5840d9dcc3bb /package/broadcom-wl
parent73c4fa4d1019cdf6ee295a063d852c0d104900c7 (diff)
[package] broadcom-wl: remove an erroneous BUG() call in the glue driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30709 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r--package/broadcom-wl/Makefile4
-rw-r--r--package/broadcom-wl/src/glue/wl_glue.c6
2 files changed, 2 insertions, 8 deletions
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index 0439f1f72..a2bd679d1 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=broadcom-wl
PKG_VERSION:=5.10.56.27.3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(ARCH).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
diff --git a/package/broadcom-wl/src/glue/wl_glue.c b/package/broadcom-wl/src/glue/wl_glue.c
index 638a65321..0504232a9 100644
--- a/package/broadcom-wl/src/glue/wl_glue.c
+++ b/package/broadcom-wl/src/glue/wl_glue.c
@@ -235,12 +235,6 @@ struct device * wl_glue_get_dmadev(void *dev)
{
struct device *dma_dev;
- if (!wl_glue_attached)
- {
- BUG();
- return NULL;
- }
-
switch (active_bus_type)
{
#ifdef CONFIG_SSB