diff options
-rw-r--r-- | drivers/staging/vt6656/usbpipe.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 428193e..c5d4047 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -419,9 +419,14 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb) } if (context->skb) { + s8 idx; + info = IEEE80211_SKB_CB(context->skb); + + idx = info->control.rates[0].idx; + ieee80211_tx_info_clear_status(info); - info->status.rates[0].idx = priv->wCurrentRate; + info->status.rates[0].idx = idx; info->status.rates[0].count = 0; if (!urb->status) info->flags |= IEEE80211_TX_STAT_ACK; |