Changeset 31954


Ignore:
Timestamp:
2012-05-28T18:17:30+02:00 (4 years ago)
Author:
nbd
Message:

mac80211: use built-in regulatory database instead of crda to avoid various race conditions

Location:
trunk/package/mac80211
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Makefile

    r31786 r31954  
    5656  $(call KernelPackage/mac80211/Default) 
    5757  TITLE:=cfg80211 - wireless configuration API 
    58   DEPENDS+= +wireless-tools +iw +crda 
     58  DEPENDS+= +wireless-tools +iw 
    5959  FILES:= \ 
    6060        $(PKG_BUILD_DIR)/compat/compat.ko \ 
     
    11331133BUILDFLAGS:= \ 
    11341134        -I$(PKG_BUILD_DIR)/include \ 
     1135        -DCONFIG_CFG80211_INTERNAL_REGDB=y \ 
    11351136        $(foreach opt,$(CONFOPTS),-DCONFIG_$(opt)) \ 
    11361137        $(if $(CONFIG_PCI),-DCONFIG_B43_PCI_AUTOSELECT -DCONFIG_B43_PCICORE_AUTOSELECT) \ 
     
    11761177        EXTRA_CFLAGS="$(BUILDFLAGS)" \ 
    11771178        $(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \ 
     1179        CONFIG_CFG80211_INTERNAL_REGDB=y \ 
    11781180        CONFIG_CFG80211=$(if $(CONFIG_PACKAGE_kmod-cfg80211),m) \ 
    11791181        CONFIG_MAC80211=$(if $(CONFIG_PACKAGE_kmod-mac80211),m) \ 
     
    13301332        rm -f $(PKG_BUILD_DIR)/include/net/ieee80211.h 
    13311333        echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version 
     1334        $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt 
    13321335endef 
    13331336 
Note: See TracChangeset for help on using the changeset viewer.