summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/channel.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-10-17 07:40:11 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-10-27 14:16:14 -0400
commit5555c955249b0d942e8ae066e80a24237b16e7f8 (patch)
treed7807688aac63d1e9d109ca91a0cb5fc21da6d5e /drivers/net/wireless/ath/ath9k/channel.c
parentbe247c1faeeead695378989a0806951ebf0403ae (diff)
downloadblackbird-obmc-linux-5555c955249b0d942e8ae066e80a24237b16e7f8.tar.gz
blackbird-obmc-linux-5555c955249b0d942e8ae066e80a24237b16e7f8.zip
ath9k: Unify reset API
Instead of having ath_reset_internal() and ath_reset() as two separate calls to perform a HW reset, have one function. This makes sure that the behavior will be the same at all callsites. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/channel.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c
index 135f74cd6147..709facca8acd 100644
--- a/drivers/net/wireless/ath/ath9k/channel.c
+++ b/drivers/net/wireless/ath/ath9k/channel.c
@@ -66,7 +66,7 @@ static int ath_set_channel(struct ath_softc *sc)
}
hchan = &sc->sc_ah->channels[pos];
- r = ath_reset_internal(sc, hchan);
+ r = ath_reset(sc, hchan);
if (r)
return r;
OpenPOWER on IntegriCloud