mac80211: Fix handling of retry count of NO_ACK frames in PID
authorGábor Stefanik <netrolller.3d@gmail.com>
Thu, 23 Apr 2009 18:06:06 +0000 (20:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:50 +0000 (15:14 -0400)
commit922368414e5700d1ed51510e54137359297d78e7
treeb38f48350c3b45de0fc1e6a876cab99663ba8c12
parent4edf040afc9237aa8cc90bcf54b521ac47d1ed78
mac80211: Fix handling of retry count of NO_ACK frames in PID

Make PID check for IEEE80211_TX_CTL_NO_ACK instead of
is_multicast_ether_addr when determining whether to use the lowest
rate, and set the retry count to 0 (total try count = 1) if
IEEE80211_TX_CTL_NO_ACK is set.

Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_pid_algo.c