]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix off-by-one regression in ibss beacon generation
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 11 Jul 2013 18:29:49 +0000 (20:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 06:58:13 +0000 (09:58 +0300)
commit6b5914e0a7213227fdddad199d26ca4bb917d523
tree11a57a2b41aa1d784f101547fd668e99ec308ddc
parent69ca568040f5e45c78eb6ce7ea6004232a7ddcf0
mac80211: fix off-by-one regression in ibss beacon generation

There is an off-by-one error in the beacon generation for the ibss mode,
falsely a rate the extended supported rates which was already added to
supported rates, messing up the beacon. This was introduced by commit
"mac80211: select and adjust bitrates according to channel mode".

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c