projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691eb61
)
cfg80211: set preset_chandef after channel switch
author
Janusz Dziedzic
<janusz.dziedzic@tieto.com>
Fri, 24 Jan 2014 13:29:21 +0000
(14:29 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Tue, 4 Feb 2014 20:58:13 +0000
(21:58 +0100)
Set preset_chandef in channel switch notification.
In other case we will have old preset_chandef.
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
patch
|
blob
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index 20be186f7f772df5a628d6b72971029d51971924..0a186013728c5c454cf60a9ec926c86e1a548005 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-11216,6
+11216,7
@@
void cfg80211_ch_switch_notify(struct net_device *dev,
return;
wdev->channel = chandef->chan;
+ wdev->preset_chandef = *chandef;
nl80211_ch_switch_notify(rdev, dev, chandef, GFP_KERNEL);
}
EXPORT_SYMBOL(cfg80211_ch_switch_notify);