Ticket #966 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[patch] multi-vap state machine bugfix

Reported by: xmxwx@asn.pl Assigned to:
Priority: major Milestone: version 0.9.3
Component: madwifi: other Version: v0.9.2
Keywords: Cc:
Patch is attached: 1 Pending:

Description

The patch fixes a bug which causes sending spurious frames after bringing VAP's interface up/down, but before association when operating in multi-VAP mode. It was caused by enforcing an ieee80211 machine state transition S_INIT -> S_RUN on a VAP if there were other VAPs already running on the device. Such a transition appears not to be invalid only for M_MONITOR, M_WDS and M_HOSTAP modes.

Additionally, a special care is now taken to treat monitor interfaces differently, when counting running and/or scanning vaps, what avoids kernel oopses due to uninitialised data structures.

http: //dev.lintrack.org/browser/trunk/packages/madwifi/patches/005-state_machine_sta_init-run_fix.diff.bz2?format=raw

Signed-off-by: Michal Wrobel <xmxwx@asn.pl>

Attachments

005-state_machine_sta_init-run_fix.diff (2.8 kB) - added by xmxwx@asn.pl on 10/19/06 01:52:58.

Change History

10/19/06 01:52:58 changed by xmxwx@asn.pl

  • attachment 005-state_machine_sta_init-run_fix.diff added.

10/19/06 13:17:29 changed by mrenzmann

  • version set to v0.9.2.
  • milestone set to version 0.9.x - progressive release candidate phase.

10/23/06 11:14:03 changed by kelmo

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from version 0.9.x - progressive release candidate phase to version 0.9.3.

Applied: r1759.


Add/Change #966 ([patch] multi-vap state machine bugfix)