summaryrefslogtreecommitdiff
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2015-05-06 18:30:50 +0300
committerJohannes Berg <johannes.berg@intel.com>2015-05-07 14:24:52 +0200
commitbf45a24243eb0673f52eaaac620617601e484f07 (patch)
tree73fb8d64eb6b565348b6b98b8475c58fb8494bf0 /net/mac80211/ibss.c
parentbbbe8c8c596b3784a2ed08772900e827f8ba72c5 (diff)
mac80211: adjust reserved chan_ctx when assigned to vif
When a vif starts using a reserved channel context (during CSA, for example) the required chandef was recalculated, however it was never applied. This could result in using chanctx with narrower width than actually required. Fix this by calling ieee80211_change_chanctx with the recalculated chandef. This both changes the chanctx's width and recalcs min_def. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Reviewed-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions