mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Define mtu as u_int16_t not as int. This should fix problem with rfcomm
on sparc64. Reported by: Andrew Belashov <bel at orel dot ru> Tested by: Andrew Belashov <bel at orel dot ru> MFC after: 3 days
This commit is contained in:
parent
e6fcb75d5f
commit
231e95561a
1 changed files with 2 additions and 1 deletions
|
|
@ -1220,7 +1220,8 @@ ng_btsocket_rfcomm_session_create(ng_btsocket_rfcomm_session_p *sp,
|
|||
ng_btsocket_rfcomm_session_p s = NULL;
|
||||
struct sockaddr_l2cap l2sa;
|
||||
struct sockopt l2sopt;
|
||||
int mtu, error;
|
||||
int error;
|
||||
u_int16_t mtu;
|
||||
|
||||
mtx_assert(&ng_btsocket_rfcomm_sessions_mtx, MA_OWNED);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue