Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 523a29ed authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman
Browse files

staging: brcm80211: remove ARP_OFFLOAD_SUPPORT macro definition



The conditional code for ARP offloading is now always enabled
in the fullmac driver.

Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Reviewed-by: default avatarFranky Lin <frankyl@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8d825a8e
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,6 @@
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.


ccflags-y :=			\
ccflags-y :=			\
	-DARP_OFFLOAD_SUPPORT	\
	-DBCMLXSDMMC		\
	-DBCMLXSDMMC		\
	-DBCMPLATFORM_BUS	\
	-DBCMPLATFORM_BUS	\
	-DBCMSDIO		\
	-DBCMSDIO		\
+0 −2
Original line number Original line Diff line number Diff line
@@ -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,
	brcmf_proto_cdc_set_ioctl(dhd, 0, BRCMF_C_SET_SCAN_UNASSOC_TIME,
			 (char *)&scan_unassoc_time, sizeof(scan_unassoc_time));
			 (char *)&scan_unassoc_time, sizeof(scan_unassoc_time));


#ifdef ARP_OFFLOAD_SUPPORT
	/* Set and enable ARP offload feature */
	/* Set and enable ARP offload feature */
	if (brcmf_arp_enable)
	if (brcmf_arp_enable)
		brcmf_c_arp_offload_set(dhd, brcmf_arp_mode);
		brcmf_c_arp_offload_set(dhd, brcmf_arp_mode);
	brcmf_c_arp_offload_enable(dhd, brcmf_arp_enable);
	brcmf_c_arp_offload_enable(dhd, brcmf_arp_enable);
#endif				/* ARP_OFFLOAD_SUPPORT */


#ifdef PKT_FILTER_SUPPORT
#ifdef PKT_FILTER_SUPPORT
	{
	{