iwlwifi: Fix handling of retry count of NO_ACK frames in iwl-{3945|agn}-rs
authorGábor Stefanik <netrolller.3d@gmail.com>
Thu, 23 Apr 2009 17:36:08 +0000 (19:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:14:51 +0000 (15:14 -0400)
commit514d65c18ee3595f7f9c9132895ed449f911ecd4
tree096cb13a50c70152cda1d5f4d9d8f3aca8efe2bf
parent922368414e5700d1ed51510e54137359297d78e7
iwlwifi: Fix handling of retry count of NO_ACK frames in iwl-{3945|agn}-rs

Make iwl-{3945|agn}-rs 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>
drivers/net/wireless/iwlwifi/iwl-3945-rs.c
drivers/net/wireless/iwlwifi/iwl-agn-rs.c