]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix WMM AP settings application
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 17 Dec 2009 15:16:53 +0000 (16:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 16:32:28 +0000 (11:32 -0500)
commit869d62e40f628b15ca4bfb05a49424b1d42181c3
treedf85bb225c3260628fc99d2e1a1b42a160cd49ff
parent41a72a27d379a935c2131558120a148d206c3faa
mac80211: fix WMM AP settings application

My
  commit 197c49a02a0b97adae8e3c6be8c31c19366b89c5
  Author: Johannes Berg <johannes@sipsolutions.net>
  Date:   Tue Jul 7 03:45:17 2009 +0200

      mac80211: rework MLME for multiple authentications

inadvertedly broke WMM because it removed, along with
a bunch of other now useless initialisations, the line
initialising sdata->u.mgd.wmm_last_param_set to -1
which would make it adopt any WMM parameter set. If,
as is usually the case, the AP uses WMM parameter set
sequence number zero, we'd never update it until the
AP changes the sequence number.

Add the missing initialisation back to get the WMM
settings from the AP applied locally.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: stable@kernel.org [2.6.31+]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c