Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 115381 | Differences between
and this patch

Collapse All | Expand All

(-)brother2-1.0.0.orig/backend/brother2.c (-2 / +2 lines)
Lines 541-550 Link Here
541
  if (!this->hScanner)
541
  if (!this->hScanner)
542
    return SANE_STATUS_IO_ERROR;
542
    return SANE_STATUS_IO_ERROR;
543
543
544
  if (usb_claim_interface(this->hScanner, 1))
544
  if (usb_set_configuration(this->hScanner, 1))
545
    return SANE_STATUS_IO_ERROR;
545
    return SANE_STATUS_IO_ERROR;
546
546
547
  if (usb_set_configuration(this->hScanner, 1))
547
	if (usb_claim_interface(this->hScanner, 1))
548
    return SANE_STATUS_IO_ERROR;
548
    return SANE_STATUS_IO_ERROR;
549
549
550
  // ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó
550
  // ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó
(-)brother2-1.0.0.orig/backend/brother_scanner.c (-2 / +2 lines)
Lines 222-231 Link Here
222
		if (!this->hScanner)
222
		if (!this->hScanner)
223
			return SANE_STATUS_IO_ERROR;
223
			return SANE_STATUS_IO_ERROR;
224
224
225
		if (usb_claim_interface(this->hScanner, 1))
225
		if (usb_set_configuration(this->hScanner, 1))
226
			return SANE_STATUS_IO_ERROR;
226
			return SANE_STATUS_IO_ERROR;
227
227
228
		if (usb_set_configuration(this->hScanner, 1))
228
		if (usb_claim_interface(this->hScanner, 1))
229
			return SANE_STATUS_IO_ERROR;
229
			return SANE_STATUS_IO_ERROR;
230
230
231
		// ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó
231
		// ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó
(-)brother2-1.0.0.orig/backend/temp/brother.c (-2 / +2 lines)
Lines 538-547 Link Here
538
  if (!this->hScanner)
538
  if (!this->hScanner)
539
    return SANE_STATUS_IO_ERROR;
539
    return SANE_STATUS_IO_ERROR;
540
540
541
  if (usb_claim_interface(this->hScanner, 1))
541
  if (usb_set_configuration(this->hScanner, 1))
542
    return SANE_STATUS_IO_ERROR;
542
    return SANE_STATUS_IO_ERROR;
543
543
544
  if (usb_set_configuration(this->hScanner, 1))
544
  if (usb_claim_interface(this->hScanner, 1))
545
    return SANE_STATUS_IO_ERROR;
545
    return SANE_STATUS_IO_ERROR;
546
546
547
  // ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó
547
  // ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó

Return to bug 115381