staging: brcm80211: remove ARP_OFFLOAD_SUPPORT macro definition
authorArend van Spriel <arend@broadcom.com>
Wed, 29 Jun 2011 23:47:26 +0000 (16:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:57:19 +0000 (09:57 -0700)
The conditional code for ARP offloading is now always enabled
in the fullmac driver.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/Makefile
drivers/staging/brcm80211/brcmfmac/dhd_common.c

index 07b93406e3c35a7a185ad2c8095184f551337c88..8a7cbf321cfabc158f2801639a41361ab37eed55 100644 (file)
@@ -16,7 +16,6 @@
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ccflags-y :=                   \
-       -DARP_OFFLOAD_SUPPORT   \
        -DBCMLXSDMMC            \
        -DBCMPLATFORM_BUS       \
        -DBCMSDIO               \
index deb8566bbecd14dcb83d67c7a3021a707cf64b00..8f593cfa8124db97c7fa48873bc71a7c568ad91f 100644 (file)
@@ -1283,12 +1283,10 @@ int brcmf_c_preinit_ioctls(dhd_pub_t *dhd)
        brcmf_proto_cdc_set_ioctl(dhd, 0, BRCMF_C_SET_SCAN_UNASSOC_TIME,
                         (char *)&scan_unassoc_time, sizeof(scan_unassoc_time));
 
-#ifdef ARP_OFFLOAD_SUPPORT
        /* Set and enable ARP offload feature */
        if (brcmf_arp_enable)
                brcmf_c_arp_offload_set(dhd, brcmf_arp_mode);
        brcmf_c_arp_offload_enable(dhd, brcmf_arp_enable);
-#endif                         /* ARP_OFFLOAD_SUPPORT */
 
 #ifdef PKT_FILTER_SUPPORT
        {