Skip to content

Commit 077f9d3

Browse files
authored
Merge pull request #49 from the-braveknight/master
2 parents d102e1b + 5f9f11c commit 077f9d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/BluetoothLinux/Internal/CInterop.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,10 @@ public extension CInterop {
571571

572572
public var opcode: UInt16 = 0
573573

574+
// Explicit padding for Linux kernel 6.8+ compatibility
575+
// The kernel expects 16 bytes but the struct is naturally 14 bytes
576+
private var _padding: UInt16 = 0
577+
574578
public init() { }
575579
}
576580
}

0 commit comments

Comments
 (0)