mac80211: don't drop mesh peering frames from unknown STA
authorMarco Porsch <marco.porsch@etit.tu-chemnitz.de>
Wed, 5 Dec 2012 23:04:26 +0000 (15:04 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Dec 2012 12:58:43 +0000 (13:58 +0100)
commit815b8092bd5242d580038213da9179a5a4f69116
treeee392ce47bfb42b555cdfcba232239e9c096d0d8
parent751413eadc8f0c7691a6cbd40a913ef0ae6b2ce4
mac80211: don't drop mesh peering frames from unknown STA

Previously, mesh peering frames from a STA without a station
entry were being dropped.

Mesh Peering Open and other frames (WLAN_CATEGORY_SELF_PROTECTED)
are valid mesh peering frames even if received from a yet unknown
station; the STA entry will be created in mesh_peer_init later.

The problem didn't occur previously since both STAs receive each
other's beacons which created the STA entry. However, this causes
an unnecessary delay and beacons might not be received if either
node is in PS mode.

Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
[reword commit log a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c
This page took 0.030289 seconds and 5 git commands to generate.