diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/spectral.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/spectral.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath9k/spectral.c b/drivers/net/wireless/ath/ath9k/spectral.c index 555fc2a6851e..d2723803494d 100644 --- a/drivers/net/wireless/ath/ath9k/spectral.c +++ b/drivers/net/wireless/ath/ath9k/spectral.c | |||
@@ -514,30 +514,30 @@ void ath9k_spectral_deinit_debug(struct ath_softc *sc) | |||
514 | } | 514 | } |
515 | } | 515 | } |
516 | 516 | ||
517 | void ath9k_spectral_init_debug(struct ath_softc *sc) | 517 | void ath9k_spectral_init_debug(struct ath_softc *sc, struct dentry *debugfs_phy) |
518 | { | 518 | { |
519 | sc->spec_priv.rfs_chan_spec_scan = relay_open("spectral_scan", | 519 | sc->spec_priv.rfs_chan_spec_scan = relay_open("spectral_scan", |
520 | sc->debug.debugfs_phy, | 520 | debugfs_phy, |
521 | 1024, 256, &rfs_spec_scan_cb, | 521 | 1024, 256, &rfs_spec_scan_cb, |
522 | NULL); | 522 | NULL); |
523 | debugfs_create_file("spectral_scan_ctl", | 523 | debugfs_create_file("spectral_scan_ctl", |
524 | S_IRUSR | S_IWUSR, | 524 | S_IRUSR | S_IWUSR, |
525 | sc->debug.debugfs_phy, sc, | 525 | debugfs_phy, sc, |
526 | &fops_spec_scan_ctl); | 526 | &fops_spec_scan_ctl); |
527 | debugfs_create_file("spectral_short_repeat", | 527 | debugfs_create_file("spectral_short_repeat", |
528 | S_IRUSR | S_IWUSR, | 528 | S_IRUSR | S_IWUSR, |
529 | sc->debug.debugfs_phy, sc, | 529 | debugfs_phy, sc, |
530 | &fops_spectral_short_repeat); | 530 | &fops_spectral_short_repeat); |
531 | debugfs_create_file("spectral_count", | 531 | debugfs_create_file("spectral_count", |
532 | S_IRUSR | S_IWUSR, | 532 | S_IRUSR | S_IWUSR, |
533 | sc->debug.debugfs_phy, sc, | 533 | debugfs_phy, sc, |
534 | &fops_spectral_count); | 534 | &fops_spectral_count); |
535 | debugfs_create_file("spectral_period", | 535 | debugfs_create_file("spectral_period", |
536 | S_IRUSR | S_IWUSR, | 536 | S_IRUSR | S_IWUSR, |
537 | sc->debug.debugfs_phy, sc, | 537 | debugfs_phy, sc, |
538 | &fops_spectral_period); | 538 | &fops_spectral_period); |
539 | debugfs_create_file("spectral_fft_period", | 539 | debugfs_create_file("spectral_fft_period", |
540 | S_IRUSR | S_IWUSR, | 540 | S_IRUSR | S_IWUSR, |
541 | sc->debug.debugfs_phy, sc, | 541 | debugfs_phy, sc, |
542 | &fops_spectral_fft_period); | 542 | &fops_spectral_fft_period); |
543 | } | 543 | } |