mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-15 01:19:36 +00:00
rtl8188eu: Fix warnings when building with 4.19+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
ab27643547
commit
f62909c0c1
1 changed files with 2 additions and 1 deletions
|
@ -1009,8 +1009,9 @@ typedef enum _HT_CAP_AMPDU_DENSITY {
|
||||||
* According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
|
* According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
|
||||||
*/
|
*/
|
||||||
#define IEEE80211_MIN_AMPDU_BUF 0x8
|
#define IEEE80211_MIN_AMPDU_BUF 0x8
|
||||||
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0)
|
||||||
#define IEEE80211_MAX_AMPDU_BUF 0x40
|
#define IEEE80211_MAX_AMPDU_BUF 0x40
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Spatial Multiplexing Power Save Modes */
|
/* Spatial Multiplexing Power Save Modes */
|
||||||
#define WLAN_HT_CAP_SM_PS_STATIC 0
|
#define WLAN_HT_CAP_SM_PS_STATIC 0
|
||||||
|
|
Loading…
Reference in a new issue