Commit 790241e9 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman
Browse files

staging: wfx: drop unused attribute 'beacon_int'

parent 239a1d3c
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -478,10 +478,6 @@ static void wfx_do_join(struct wfx_vif *wvif)
		return;
	}

	/* Sanity check beacon interval */
	if (!wvif->beacon_int)
		wvif->beacon_int = 1;

	rcu_read_lock(); // protect ssidie
	if (bss)
		ssidie = ieee80211_bss_get_ie(bss, WLAN_EID_SSID);
@@ -611,7 +607,6 @@ static void wfx_join_finalize(struct wfx_vif *wvif,
{
	struct ieee80211_sta *sta = NULL;

	wvif->beacon_int = info->beacon_int;
	rcu_read_lock(); // protect sta
	if (info->bssid && !info->ibss_joined)
		sta = ieee80211_find_sta(wvif->vif, info->bssid);
+0 −1
Original line number Diff line number Diff line
@@ -88,7 +88,6 @@ struct wfx_vif {

	struct work_struct	update_tim_work;

	int			beacon_int;
	bool			filter_bssid;
	bool			fwd_probe_req;
	bool			disable_beacon_filter;