Skip to content

Commit

Permalink
Revert "mac80211: clear sta.drv_priv on reconfiguration"
Browse files Browse the repository at this point in the history
This reverts commit f785d83.

This was provoking WARNINGs from the iwlegacy drivers.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
John W. Linville committed Dec 1, 2011
1 parent c72e8d3 commit 03360c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,6 @@ int ieee80211_reconfig(struct ieee80211_local *local)
struct ieee80211_sub_if_data,
u.ap);

memset(&sta->sta.drv_priv, 0, hw->sta_data_size);
WARN_ON(drv_sta_add(local, sdata, &sta->sta));
}
}
Expand Down

0 comments on commit 03360c5

Please sign in to comment.