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
208e1b17d5
commit
e09ab09b6c
@ -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…
x
Reference in New Issue
Block a user