|
@@ -383,6 +383,8 @@ static int wl1271_prepare_tx_frame(struct wl1271 *wl, struct sk_buff *skb,
|
|
if (ret < 0)
|
|
if (ret < 0)
|
|
return ret;
|
|
return ret;
|
|
|
|
|
|
|
|
+ wl1271_tx_fill_hdr(wl, skb, extra, info, hlid);
|
|
|
|
+
|
|
if (wl->bss_type == BSS_TYPE_AP_BSS) {
|
|
if (wl->bss_type == BSS_TYPE_AP_BSS) {
|
|
wl1271_tx_ap_update_inconnection_sta(wl, skb);
|
|
wl1271_tx_ap_update_inconnection_sta(wl, skb);
|
|
wl1271_tx_regulate_link(wl, hlid);
|
|
wl1271_tx_regulate_link(wl, hlid);
|
|
@@ -390,8 +392,6 @@ static int wl1271_prepare_tx_frame(struct wl1271 *wl, struct sk_buff *skb,
|
|
wl1271_tx_update_filters(wl, skb);
|
|
wl1271_tx_update_filters(wl, skb);
|
|
}
|
|
}
|
|
|
|
|
|
- wl1271_tx_fill_hdr(wl, skb, extra, info, hlid);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* The length of each packet is stored in terms of
|
|
* The length of each packet is stored in terms of
|
|
* words. Thus, we must pad the skb data to make sure its
|
|
* words. Thus, we must pad the skb data to make sure its
|