Skip to content

Commit fb7acfb

Browse files
Felix Fietkaujmberg-intel
authored andcommitted
mac80211: minstrel: switch to .tx_status_noskb
Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent f684565 commit fb7acfb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

net/mac80211/rc80211_minstrel.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,10 @@ minstrel_update_stats(struct minstrel_priv *mp, struct minstrel_sta_info *mi)
223223
static void
224224
minstrel_tx_status(void *priv, struct ieee80211_supported_band *sband,
225225
struct ieee80211_sta *sta, void *priv_sta,
226-
struct sk_buff *skb)
226+
struct ieee80211_tx_info *info)
227227
{
228228
struct minstrel_priv *mp = priv;
229229
struct minstrel_sta_info *mi = priv_sta;
230-
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
231230
struct ieee80211_tx_rate *ar = info->status.rates;
232231
int i, ndx;
233232
int success;
@@ -674,7 +673,7 @@ static u32 minstrel_get_expected_throughput(void *priv_sta)
674673

675674
const struct rate_control_ops mac80211_minstrel = {
676675
.name = "minstrel",
677-
.tx_status = minstrel_tx_status,
676+
.tx_status_noskb = minstrel_tx_status,
678677
.get_rate = minstrel_get_rate,
679678
.rate_init = minstrel_rate_init,
680679
.alloc = minstrel_alloc,

0 commit comments

Comments
 (0)