mac80211: Update the station failed frames average when minstrel is used.
authorJavier Cardona <javier@cozybit.com>
Mon, 10 Aug 2009 19:15:49 +0000 (12:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:14:00 +0000 (09:14 -0400)
commitd403a1c66ea1fb47ae61921eac278d4154f7ca8a
tree4389e65e85eb50524fdd3ae80fa2e172d9903bfe
parent3c5772a5279de9eadfff7adb5ddea08106495fff
mac80211: Update the station failed frames average when minstrel is used.

The fail_avg value is used to compute the mesh metric, and was only being set
by the pid rate control module. This fixes the mesh path selection mechanism
for cards that use mistrel for rate control.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_minstrel.c