summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2020-05-15 13:05:05 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2020-05-15 13:05:05 +0000
commit8f87f91a66a2a92b02afe9aa92abc66fbab74398 (patch)
treed1dc414add04f5ea5f6f29989241ddfb04190d5b /sys
parentd65299a98e09590a03ca3bc78fb056699ef33ed0 (diff)
Fix wrong firmware API documentation comments for iwm(4) and iwx(4).
Both drivers currently use SCAN_CHANNEL_CFG_S_VER1, not VER2.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_iwmreg.h4
-rw-r--r--sys/dev/pci/if_iwxreg.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_iwmreg.h b/sys/dev/pci/if_iwmreg.h
index 194c7aa8544..63dac3fc5cc 100644
--- a/sys/dev/pci/if_iwmreg.h
+++ b/sys/dev/pci/if_iwmreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwmreg.h,v 1.46 2020/03/05 14:56:50 stsp Exp $ */
+/* $OpenBSD: if_iwmreg.h,v 1.47 2020/05/15 13:05:04 stsp Exp $ */
/******************************************************************************
*
@@ -5500,7 +5500,7 @@ struct iwm_scan_channel_cfg_umac {
uint8_t channel_num;
uint8_t iter_count;
uint16_t iter_interval;
-} __packed; /* SCAN_CHANNEL_CFG_S_VER2 */
+} __packed; /* SCAN_CHANNEL_CFG_S_VER1 */
/**
* struct iwm_scan_umac_schedule
diff --git a/sys/dev/pci/if_iwxreg.h b/sys/dev/pci/if_iwxreg.h
index bf3209c2d3b..aa7e2d11f91 100644
--- a/sys/dev/pci/if_iwxreg.h
+++ b/sys/dev/pci/if_iwxreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwxreg.h,v 1.2 2020/02/28 14:51:53 stsp Exp $ */
+/* $OpenBSD: if_iwxreg.h,v 1.3 2020/05/15 13:05:04 stsp Exp $ */
/*-
* Based on BSD-licensed source modules in the Linux iwlwifi driver,
@@ -5302,7 +5302,7 @@ struct iwx_scan_channel_cfg_umac {
uint8_t channel_num;
uint8_t iter_count;
uint16_t iter_interval;
-} __packed; /* SCAN_CHANNEL_CFG_S_VER2 */
+} __packed; /* SCAN_CHANNEL_CFG_S_VER1 */
/**
* struct iwx_scan_umac_schedule