aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSoumik Das <soumik.das@stericsson.com>2012-05-20 15:31:13 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-05-25 11:16:16 -0400
commit992e68bf2eb9f3319f098560b8d4a03aa52fd7b8 (patch)
tree4def5ed9c6845d2a9f48f7f99a429fc89be79b9b /usr
parentbrcmfmac: use vmalloc to allocate mem for the firmware (diff)
downloadlinux-dev-992e68bf2eb9f3319f098560b8d4a03aa52fd7b8.tar.xz
linux-dev-992e68bf2eb9f3319f098560b8d4a03aa52fd7b8.zip
mac80211: Fix race in checking AP status by sending null frame
mac80211 tries to verify the existence of the current AP by probing or sending a NULL frame in function ieee80211_mgd_probe_ap_send. It 1st sends a null frame to the AP, increments probe_send_count and waits for the ACK to the NULL frame for a finite duration of time. At times, it happens that by the time mac80211 gets to increment probe_send_count, the ACK for the NULL frame transmitted has already been processed. This leads to a race condition where mac80211 times out waiting for the ACK for the NULL frame causing unnecessary disconnection with the AP. Signed-off-by: Soumik Das <soumik.das@stericsson.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions