mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-11-10 16:49:17 +00:00
fix: fix for Debian 6.1.0-26
This commit is contained in:
1 parent
06f3c3685c
commit
1f55f8626d
1 file changed
+3
-1
@@ -464,7 +464,9 @@ static bool rwnx_rx_data_skb(struct rwnx_hw *rwnx_hw, struct rwnx_vif *rwnx_vif,
|
||||
|
||||
if (amsdu) {
|
||||
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,
|
||||
RWNX_VIF_TYPE(rwnx_vif), 0, NULL, NULL, false);
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user