From: Mats F. <ma...@us...> - 2001-06-14 10:59:59
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- bluetooth.c 1.181 1.182=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Actually we shouldn't do bt_feedstack when the rfcomm flow is stopped, but for now this is disabled by default, since we don't know which dlci we are using here... The diff of the modified file(s): --- bluetooth.c 2001/06/13 12:45:14 1.181 +++ bluetooth.c 2001/06/14 10:59:58 1.182 @@ -1561,6 +1561,8 @@ return 0; } =20 +//#define IMPROVE_RFCOMM_FLOW + void bt_feedstack(void) { #define FNC "bt_feedstack: " @@ -1614,6 +1616,13 @@ return; } =20=09 +#ifdef IMPROVE_RFCOMM_FLOW + /* FIXME: How should we know what serverchannel we are using ? */ + if (rfcomm_flow_stop(check_line, 2)) { + BT_DATA(__FUNCTION__": Flow stopped in RFCOMM\n"); + return; + } +#endif if ((upper_tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && upper_tty->ldisc.write_wakeup) { //BT_DATA(" |X|<<*** [%d]\n", check_line); |