Hi Dmitry, On Tue, Aug 17, 2010, Dmitriy Paliy wrote: > + if ( hci_send_cmd(dd, OGF_HOST_CTL, OCF_WRITE_PAGE_ACTIVITY, > + WRITE_PAGE_ACTIVITY_CP_SIZE, &cp) < 0 ) { > + err = -errno; > + } else if ( hci_send_cmd(dd, OGF_HOST_CTL, OCF_WRITE_PAGE_SCAN_TYPE, > + 1, &type) < 0 ) { > + err = -errno; > + } A few coding style issues: no braces for one-line if-statements and remove the spaces after ( and before ) should be removed. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html