Browse Source

Merge "qcacmn: Remove redundant definition of WEXT macros"

Linux Build Service Account 5 years ago
parent
commit
88d1460485
1 changed files with 15 additions and 0 deletions
  1. 15 0
      qdf/linux/src/i_qdf_types.h

+ 15 - 0
qdf/linux/src/i_qdf_types.h

@@ -98,11 +98,26 @@ typedef unsigned long dma_addr_t;
 typedef unsigned long phys_addr_t;
 typedef unsigned long __sgtable_t;
 
+#ifndef SIOCGIWAP
 #define SIOCGIWAP       0
+#endif
+
+#ifndef IWEVCUSTOM
 #define IWEVCUSTOM      0
+#endif
+
+#ifndef IWEVREGISTERED
 #define IWEVREGISTERED  0
+#endif
+
+#ifndef IWEVEXPIRED
 #define IWEVEXPIRED     0
+#endif
+
+#ifndef SIOCGIWSCAN
 #define SIOCGIWSCAN     0
+#endif
+
 #define DMA_TO_DEVICE   0
 #define DMA_BIDIRECTIONAL 0
 #define DMA_FROM_DEVICE 0