Fix MMCCAM scanning for new cards.
r326645 used an incorrect argument for xpt_path_inq(). Reviewed by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D15521
This commit is contained in:
parent
80259b6c12
commit
7fbf511890
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334059
@ -241,7 +241,7 @@ mmc_scan_lun(struct cam_periph *periph, struct cam_path *path,
|
||||
|
||||
CAM_DEBUG(path, CAM_DEBUG_TRACE, ("mmc_scan_lun\n"));
|
||||
|
||||
xpt_path_inq(&cpi, periph->path);
|
||||
xpt_path_inq(&cpi, path);
|
||||
|
||||
if (cpi.ccb_h.status != CAM_REQ_CMP) {
|
||||
if (request_ccb != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user