Bläddra i källkod

Bluetooth: Fix mgmt interaction with userspace

Partially revert 34918cd7. struct mgmt_key_info needs to have the same
size as its version exported to userspace.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Gustavo F. Padovan 13 år sedan
förälder
incheckning
c636ef5886
1 ändrade filer med 0 tillägg och 2 borttagningar
  1. 0 2
      include/net/bluetooth/mgmt.h

+ 0 - 2
include/net/bluetooth/mgmt.h

@@ -101,8 +101,6 @@ struct mgmt_key_info {
 	u8 type;
 	u8 val[16];
 	u8 pin_len;
-	u8 dlen;
-	u8 data[0];
 } __packed;
 
 #define MGMT_OP_LOAD_KEYS		0x000D