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

Commit e3335476 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

brcmfmac: use CFG80211_TESTMODE_CMD



This is essentially the same, but written shorter.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Acked-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6cdfc1de
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -4164,9 +4164,7 @@ static struct cfg80211_ops wl_cfg80211_ops = {
	.stop_p2p_device = brcmf_p2p_stop_device,
	.crit_proto_start = brcmf_cfg80211_crit_proto_start,
	.crit_proto_stop = brcmf_cfg80211_crit_proto_stop,
#ifdef CONFIG_NL80211_TESTMODE
	.testmode_cmd = brcmf_cfg80211_testmode
#endif
	CFG80211_TESTMODE_CMD(brcmf_cfg80211_testmode)
};

static s32 brcmf_nl80211_iftype_to_mode(enum nl80211_iftype type)