|
|
|
@ -6,7 +6,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> |
|
|
|
|
|
|
|
|
|
--- a/drivers/net/wireless/ath5k/base.c
|
|
|
|
|
+++ b/drivers/net/wireless/ath5k/base.c
|
|
|
|
|
@@ -308,6 +308,19 @@ static inline void ath5k_txbuf_free(stru
|
|
|
|
|
@@ -310,6 +310,19 @@ static inline void ath5k_txbuf_free(stru
|
|
|
|
|
bf->skb = NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -26,7 +26,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> |
|
|
|
|
/* Queues setup */
|
|
|
|
|
static struct ath5k_txq *ath5k_txq_setup(struct ath5k_softc *sc,
|
|
|
|
|
int qtype, int subtype);
|
|
|
|
|
@@ -1341,7 +1354,7 @@ ath5k_desc_free(struct ath5k_softc *sc,
|
|
|
|
|
@@ -1343,7 +1356,7 @@ ath5k_desc_free(struct ath5k_softc *sc,
|
|
|
|
|
list_for_each_entry(bf, &sc->txbuf, list)
|
|
|
|
|
ath5k_txbuf_free(sc, bf);
|
|
|
|
|
list_for_each_entry(bf, &sc->rxbuf, list)
|
|
|
|
|