projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: handle TX power per virtual interface
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
mac80211
/
chan.c
diff --git
a/net/mac80211/chan.c
b/net/mac80211/chan.c
index f84b86028a9cd50bc95c10ec3410c4250c190eb1..a2b06d40aebf53be340398ef7e22319b27731cb2 100644
(file)
--- a/
net/mac80211/chan.c
+++ b/
net/mac80211/chan.c
@@
-173,6
+173,8
@@
static int ieee80211_assign_vif_chanctx(struct ieee80211_sub_if_data *sdata,
rcu_assign_pointer(sdata->vif.chanctx_conf, &ctx->conf);
ctx->refcount++;
+ ieee80211_recalc_txpower(sdata);
+
return 0;
}