OSDN Git Service

mac80211: rate control status only for controlled packets
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 23 Mar 2009 13:10:22 +0000 (14:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:15 +0000 (20:13 -0400)
commit2b874e83c970b45c328ab12239b066a43505454c
treee4924ed6989f01682ec50910361b0d621dae0be4
parent4a48e2a484e5cf99da4795cf2d6916e057d533ad
mac80211: rate control status only for controlled packets

This patch changes mac80211 to not notify the rate control algorithm's
tx_status() method when reporting status for a packet that didn't go
through the rate control algorithm's get_rate() method.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/rate.c
net/mac80211/rate.h