]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix error in station state transitions during reconfig
authorMeenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Wed, 30 May 2012 09:39:33 +0000 (11:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Jun 2012 19:24:56 +0000 (15:24 -0400)
commit843688a2ef7a8b9869f144b4df42911f6724d85e
tree626060c15a9147c1988a3df74b74859acd1deaf4
parentcbca925930dcb3b706a4f804d2e2707e31e84bed
mac80211: fix error in station state transitions during reconfig

As part of hardware reconfig mac80211 tries
to restore the station state to its values
before the hardware reconfig, but it only
goes to the last-state - 1. Fix this
off-by-one error.

Cc: stable@kernel.org [3.4]
Signed-off-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c