broadcom-wl: remove an erroneous BUG() call in the glue driver

SVN-Revision: 30709
master
Jo-Philipp Wich 13 years ago
parent 74db55a982
commit b585d59096
  1. 4
      package/broadcom-wl/Makefile
  2. 6
      package/broadcom-wl/src/glue/wl_glue.c

@ -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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=broadcom-wl PKG_NAME:=broadcom-wl
PKG_VERSION:=5.10.56.27.3 PKG_VERSION:=5.10.56.27.3
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(ARCH).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(ARCH).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources PKG_SOURCE_URL:=http://downloads.openwrt.org/sources

@ -235,12 +235,6 @@ struct device * wl_glue_get_dmadev(void *dev)
{ {
struct device *dma_dev; struct device *dma_dev;
if (!wl_glue_attached)
{
BUG();
return NULL;
}
switch (active_bus_type) switch (active_bus_type)
{ {
#ifdef CONFIG_SSB #ifdef CONFIG_SSB

Loading…
Cancel
Save