]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix erased ieee80211_rx_status.mactime
authorJan Friedrich <jft@dev2day.de>
Mon, 2 Aug 2010 21:55:50 +0000 (23:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Aug 2010 19:28:37 +0000 (15:28 -0400)
commit227421b4edf761541d41b3039834e9f82692d5d3
tree9ce37980157138280c19ea2de739c876af68d880
parent5fa76fc06fbd6990a4c93c99091861d0b55d6c59
ath9k: fix erased ieee80211_rx_status.mactime

ath9k_rx_skb_preprocess nulls rxs and the mactime is never set again -
mactime is always 0. This causes problems in IBSS mode.

ieee80211_rx_bss_info uses mactime to decide if an IBSS merge is needed.
Without this patch the merge is triggered by each beacon received.

This can be recognized by the "beacon TSF higher than local TSF - IBSS
merge with BSSID" log message accompanying each beacon.

This problem was not completely fixed in commit
1627a6f37609422e92f1aceb081d2fb3d787adef and is not a stable kernel fix.
It is solely intended for wireless-testing.

Signed-off-by: Jan Friedrich <jft@dev2day.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c