rk: revert to v3.10
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / ath / ath9k / ath9k.h
index 4ebd9fd8a0a47a78425f69f37c53938923528782..42b03dc39d1423561dff8fb08f95be67f54ea5bb 100644 (file)
@@ -79,6 +79,10 @@ struct ath_config {
                       sizeof(struct ath_buf_state));           \
        } while (0)
 
+#define ATH_RXBUF_RESET(_bf) do {              \
+               (_bf)->bf_stale = false;        \
+       } while (0)
+
 /**
  * enum buffer_type - Buffer type flags
  *
@@ -312,7 +316,6 @@ struct ath_rx {
        struct ath_descdma rxdma;
        struct ath_rx_edma rx_edma[ATH9K_RX_QUEUE_MAX];
 
-       struct ath_buf *buf_hold;
        struct sk_buff *frag;
 
        u32 ampdu_ref;