commit 533d1724955064881e0b3e0b0c503babf5b99dea Author: Jiri Slaby Date: Wed Jul 11 22:01:17 2007 +0200 pass 0xffff as power level (the same as madwifi-old-openhal) diff --git a/ath/if_ath_pci.c b/ath/if_ath_pci.c index 69bc89a..7eb8d87 100644 --- a/ath/if_ath_pci.c +++ b/ath/if_ath_pci.c @@ -881,8 +881,8 @@ static int ath_tx_bf(struct ath_softc *sc, struct ath_buf *bf, pktlen = skb->len - hdrpad + FCS_LEN; ret = ah->ah_setup_tx_desc(ah, ds, pktlen, ieee80211_get_hdrlen_from_skb(skb), AR5K_PKT_TYPE_NORMAL, - ctl->power_level > 60 ? 60 : ctl->power_level, ctl->tx_rate, - ctl->retry_limit, AR5K_TXKEYIX_INVALID, 0, flags, 0, 0); + 0xffff, ctl->tx_rate, ctl->retry_limit, AR5K_TXKEYIX_INVALID, 0, + flags, 0, 0); if (ret) goto err_unmap;