Commit 6ac29cc5 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman

staging: wfx: drop unused attribute 'join_complete_status'

The field join_complete_status is never read. Drop it.
Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200420160311.57323-17-Jerome.Pouiller@silabs.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4b815a9d
......@@ -361,10 +361,8 @@ static void wfx_do_join(struct wfx_vif *wvif)
ret = hif_join(wvif, conf, wvif->channel, ssid, ssidlen);
if (ret) {
ieee80211_connection_loss(wvif->vif);
wvif->join_complete_status = -1;
wfx_do_unjoin(wvif);
} else {
wvif->join_complete_status = 0;
/* Due to beacon filtering it is possible that the
* AP's beacon is not known for the mac80211 stack.
* Disable filtering temporary to make sure the stack
......
......@@ -82,8 +82,6 @@ struct wfx_vif {
unsigned long uapsd_mask;
int join_complete_status;
/* avoid some operations in parallel with scan */
struct mutex scan_lock;
struct work_struct scan_work;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment