mac80211: remove hw.conf.channel usage where possible
[pandora-kernel.git] / drivers / net / wireless / rtl818x / rtl8187 / dev.c
index cf53ac9..d811496 100644 (file)
@@ -294,6 +294,7 @@ static void rtl8187_tx(struct ieee80211_hw *dev, struct sk_buff *skb)
                hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8);
                hdr->tx_duration =
                        ieee80211_generic_frame_duration(dev, priv->vif,
+                                                        info->band,
                                                         skb->len, txrate);
                buf = hdr;