mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
fix: fix for Debian 6.1.0-26
This commit is contained in:
@@ -464,7 +464,9 @@ static bool rwnx_rx_data_skb(struct rwnx_hw *rwnx_hw, struct rwnx_vif *rwnx_vif,
|
|||||||
|
|
||||||
if (amsdu) {
|
if (amsdu) {
|
||||||
int count;
|
int count;
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
|
// Debian 6.1.0-26 backported the new function call, but not Ubuntu 6.2.
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0) || \
|
||||||
|
(LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 109) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 2, 0))
|
||||||
ieee80211_amsdu_to_8023s(skb, &list, rwnx_vif->ndev->dev_addr,
|
ieee80211_amsdu_to_8023s(skb, &list, rwnx_vif->ndev->dev_addr,
|
||||||
RWNX_VIF_TYPE(rwnx_vif), 0, NULL, NULL, false);
|
RWNX_VIF_TYPE(rwnx_vif), 0, NULL, NULL, false);
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user