Fix single character typo in legacy transfer settings function

thereby re-enable tagged queuing.
This commit is contained in:
Justin T. Gibbs 2000-10-06 19:34:40 +00:00
parent a3ca011532
commit 580bfdfb00
2 changed files with 2 additions and 2 deletions

View File

@ -969,7 +969,7 @@ ahc_get_tran_settings(struct ahc_softc *ahc, int our_id, char channel,
ahc_lock(ahc, &s);
cts->flags &= ~(CCB_TRANS_DISC_ENB|CCB_TRANS_TAG_ENB);
if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) != 0) {
if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) == 0) {
if ((ahc->user_discenable & devinfo.target_mask) != 0)
cts->flags |= CCB_TRANS_DISC_ENB;

View File

@ -969,7 +969,7 @@ ahc_get_tran_settings(struct ahc_softc *ahc, int our_id, char channel,
ahc_lock(ahc, &s);
cts->flags &= ~(CCB_TRANS_DISC_ENB|CCB_TRANS_TAG_ENB);
if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) != 0) {
if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) == 0) {
if ((ahc->user_discenable & devinfo.target_mask) != 0)
cts->flags |= CCB_TRANS_DISC_ENB;