View | Details | Raw Unified | Return to bug 197143 | Differences between
and this patch

Collapse All | Expand All

(-)sys/dev/wpi/if_wpi.c (-2 / +4 lines)
Lines 2218-2236 Link Here
2218
			}
2218
			}
2219
			break;
2219
			break;
2220
		}
2220
		}
2221
#ifdef WPI_DEBUG
2221
		case WPI_START_SCAN:
2222
		case WPI_START_SCAN:
2222
		{
2223
		{
2223
			bus_dmamap_sync(sc->rxq.data_dmat, data->map,
2224
			bus_dmamap_sync(sc->rxq.data_dmat, data->map,
2224
			    BUS_DMASYNC_POSTREAD);
2225
			    BUS_DMASYNC_POSTREAD);
2225
#ifdef WPI_DEBUG
2226
2226
			struct wpi_start_scan *scan =
2227
			struct wpi_start_scan *scan =
2227
			    (struct wpi_start_scan *)(desc + 1);
2228
			    (struct wpi_start_scan *)(desc + 1);
2228
			DPRINTF(sc, WPI_DEBUG_SCAN,
2229
			DPRINTF(sc, WPI_DEBUG_SCAN,
2229
			    "%s: scanning channel %d status %x\n",
2230
			    "%s: scanning channel %d status %x\n",
2230
			    __func__, scan->chan, le32toh(scan->status));
2231
			    __func__, scan->chan, le32toh(scan->status));
2231
#endif
2232
2232
			break;
2233
			break;
2233
		}
2234
		}
2235
#endif
2234
		case WPI_STOP_SCAN:
2236
		case WPI_STOP_SCAN:
2235
		{
2237
		{
2236
			bus_dmamap_sync(sc->rxq.data_dmat, data->map,
2238
			bus_dmamap_sync(sc->rxq.data_dmat, data->map,

Return to bug 197143