Revert "mac80211: clear sta.drv_priv on reconfiguration"
This reverts commit f785d83a19
.
This was provoking WARNINGs from the iwlegacy drivers.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
c72e8d335e
commit
03360c5a40
1 changed files with 0 additions and 1 deletions
|
@ -1038,7 +1038,6 @@ int ieee80211_reconfig(struct ieee80211_local *local)
|
||||||
struct ieee80211_sub_if_data,
|
struct ieee80211_sub_if_data,
|
||||||
u.ap);
|
u.ap);
|
||||||
|
|
||||||
memset(&sta->sta.drv_priv, 0, hw->sta_data_size);
|
|
||||||
WARN_ON(drv_sta_add(local, sdata, &sta->sta));
|
WARN_ON(drv_sta_add(local, sdata, &sta->sta));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue