summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-03-14 15:02:01 +0100
committerLuca Coelho <luciano.coelho@intel.com>2018-08-02 09:50:08 +0200
commitf890269b29d71587bf223a99eb4939199a8fde40 (patch)
tree5d925168297b36fc87a1bab8a4a35170ffe10e11 /drivers/net/wireless/intel/iwlwifi
parentiwlwifi: mvm: remove dead gscan code (diff)
downloadlinux-f890269b29d71587bf223a99eb4939199a8fde40.tar.xz
linux-f890269b29d71587bf223a99eb4939199a8fde40.zip
iwlwifi: pcie: include tcp.h implicitly
If CONFIG_IPV6 is not enabled in the kernel, tcp.h is not included implicitly from other header files, causing compilation errors. To solve that, explicitly include it in tx-gen2.c. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c b/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
index e3ae7f91206b..64db540ad605 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
@@ -52,6 +52,7 @@
*****************************************************************************/
#include <linux/pm_runtime.h>
#include <net/tso.h>
+#include <linux/tcp.h>
#include "iwl-debug.h"
#include "iwl-csr.h"