mac80211: Cancel pending probereq poll on beacon RX
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 14 May 2009 18:15:36 +0000 (21:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:24 +0000 (14:46 -0400)
commit92778180f7fca7f7797de8020900a7fea175f7e3
treed65b23ececcd2fab32b1b372f7ad1c629fde5986
parent13bdcd90bbce7c07e0dda0ff31e9497b8cabf1eb
mac80211: Cancel pending probereq poll on beacon RX

While the probe request poll is expected to work, it looks like it
does not always result in getting a response. The exact reason for
this is unclear, but anyway, if we do receive a Beacon frame from our
AP, there is no need to disconnect based on the probereq poll. This
seems to help keep the connection bit more stable in cases where
beacon loss is occurring semi-frequently.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c