projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c72e8d3
)
Revert "mac80211: clear sta.drv_priv on reconfiguration"
author
John W. Linville
<linville@tuxdriver.com>
Thu, 1 Dec 2011 15:44:17 +0000
(10:44 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 1 Dec 2011 15:44:17 +0000
(10:44 -0500)
This reverts commit
f785d83a19bca326f79d127a413e35769afc0105
.
This was provoking WARNINGs from the iwlegacy drivers.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/util.c
b/net/mac80211/util.c
index 0c9490722aa53f6d6bb5a19023a2157e9c997828..6719bce4a0810d5c354a2836c89deebd2815af30 100644
(file)
--- a/
net/mac80211/util.c
+++ b/
net/mac80211/util.c
@@
-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));
}
}