Skip to content
Commit cbfd1526 authored by Amit Virdi's avatar Amit Virdi Committed by David S. Miller
Browse files

net/irda/ircomm_tty.c: Use flip buffers to deliver data



use tty_insert_flip_string and tty_flip_buffer_push to deliver incoming data
packets from the IrDA device instead of delivering the packets directly to the
line discipline. Following later approach resulted in warning "Sleeping function
called from invalid context".

Signed-off-by: default avatarAmit Virdi <amit.virdi@st.com>
Acked-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7f267051
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment