]> git.baikalelectronics.ru Git - kernel.git/commit
[MAC80211]: get STA after tx radiotap snipped
authorwarmcat <andy@warmcat.com>
Fri, 14 Sep 2007 15:10:25 +0000 (11:10 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:31 +0000 (16:49 -0700)
commit434c844ef46bff4d6c4d60b0be476055041b8720
treeb7d73e8e897cfd2311db484fc7f8b8397b823325
parent4f3e01991e72a4c76a96c020e75762de3f1bcd96
[MAC80211]: get STA after tx radiotap snipped

Johannes Berg noticed that in __ieee80211_tx_prepare() we try to get the
STA from addr1 of the ieee80211 header when the radiotap header is actually
still at the front of the packet.  This patch defers doing that until the
radiotap header is gone.

Signed-off-by: Andy Green <andy@warmcat.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/tx.c