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

Commit f49200c3 authored by nohee ko's avatar nohee ko Committed by Greg Kroah-Hartman
Browse files

staging: brcm80211: brcmfmac: remove unnecessary cflags, WL_ISCAN_DISABLED & WL_ROAM_DISABLED



Remove unnecessary cflags, WL_ISCAN_DISABLED
and WL_ROAM_DISABLED. Iscan is ON and Roam by FW
is OFF by default.

Signed-off-by: default avatarNohee Ko <noheek@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bd384c27
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -3108,18 +3108,10 @@ static s32 wl_init_priv(struct wl_priv *wl)

	wl->scan_request = NULL;
	wl->pwr_save = !!(wiphy->flags & WIPHY_FLAG_PS_ON_BY_DEFAULT);
#ifndef WL_ISCAN_DISABLED
	wl->iscan_on = true;	/* iscan on & off switch.
				 we enable iscan per default */
#else
	wl->iscan_on = false;
#endif				/* WL_ISCAN_DISABLED */
#ifndef WL_ROAM_DISABLED
	wl->roam_on = true;	/* roam on & off switch.
	wl->roam_on = false;	/* roam on & off switch.
				 we enable roam per default */
#else
	wl->roam_on = false;
#endif				/* WL_ROAM_DISABLED */

	wl->iscan_kickstart = false;
	wl->active_scan = true;	/* we do active scan for