ath9k: remove all struct ath_softc dependencies from spectral code
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Este commit está contenido en:

cometido por
John W. Linville

padre
dd7657be75
commit
1111d426ef
@@ -870,7 +870,7 @@ static int ath9k_rx_skb_preprocess(struct ath_softc *sc,
|
||||
*/
|
||||
if (rx_stats->rs_status & ATH9K_RXERR_PHY) {
|
||||
ath9k_dfs_process_phyerr(sc, hdr, rx_stats, rx_status->mactime);
|
||||
if (ath_process_fft(sc, hdr, rx_stats, rx_status->mactime))
|
||||
if (ath_process_fft(&sc->spec_priv, hdr, rx_stats, rx_status->mactime))
|
||||
RX_STAT_INC(rx_spectral);
|
||||
|
||||
return -EINVAL;
|
||||
|
Referencia en una nueva incidencia
Block a user