gfp_t gfp);
 void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata,
                               bool bss_notify);
-void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb,
-                   enum ieee80211_band band);
+void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb);
 
 void __ieee80211_tx_skb_tid_band(struct ieee80211_sub_if_data *sdata,
                                 struct sk_buff *skb, int tid,
 
  * Returns false if the frame couldn't be transmitted but was queued instead.
  */
 static bool ieee80211_tx(struct ieee80211_sub_if_data *sdata,
-                        struct sk_buff *skb, bool txpending,
-                        enum ieee80211_band band)
+                        struct sk_buff *skb, bool txpending)
 {
        struct ieee80211_local *local = sdata->local;
        struct ieee80211_tx_data tx;
                return true;
        }
 
-       info->band = band;
-
        /* set up hw_queue value early */
        if (!(info->flags & IEEE80211_TX_CTL_TX_OFFCHAN) ||
            !(local->hw.flags & IEEE80211_HW_QUEUE_CONTROL))
        return 0;
 }
 
-void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb,
-                   enum ieee80211_band band)
+void ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
 {
        struct ieee80211_local *local = sdata->local;
        struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
        }
 
        ieee80211_set_qos_hdr(sdata, skb);
-       ieee80211_tx(sdata, skb, false, band);
+       ieee80211_tx(sdata, skb, false);
 }
 
 static bool ieee80211_parse_tx_radiotap(struct sk_buff *skb)
                                     sdata->vif.type))
                goto fail_rcu;
 
-       ieee80211_xmit(sdata, skb, chandef->chan->band);
+       info->band = chandef->chan->band;
+       ieee80211_xmit(sdata, skb);
        rcu_read_unlock();
 
        return NETDEV_TX_OK;
 
        info->flags = info_flags;
        info->ack_frame_id = info_id;
+       info->band = band;
 
-       ieee80211_xmit(sdata, skb, band);
+       ieee80211_xmit(sdata, skb);
        rcu_read_unlock();
 
        return;
                        dev_kfree_skb(skb);
                        return true;
                }
-               result = ieee80211_tx(sdata, skb, true,
-                                     chanctx_conf->def.chan->band);
+               info->band = chanctx_conf->def.chan->band;
+               result = ieee80211_tx(sdata, skb, true);
        } else {
                struct sk_buff_head skbs;
 
         * requirements are that we do not come into tx with bhs on.
         */
        local_bh_disable();
-       ieee80211_xmit(sdata, skb, band);
+       IEEE80211_SKB_CB(skb)->band = band;
+       ieee80211_xmit(sdata, skb);
        local_bh_enable();
 }