1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66760
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;