diff options
author | Pavel Roskin <proski@gnu.org> | 2010-01-30 01:22:12 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-01 23:40:04 +0300 |
commit | f643e51d717b52ac28830e8bb98559b006a73bf4 (patch) | |
tree | a25e001912294bd10f58cafe9f43341bec8c180c /drivers/net/wireless/ath/ath9k/recv.c | |
parent | c6c97bdaa3307d0811f14c99c38c63a8dae36e1f (diff) | |
download | linux-f643e51d717b52ac28830e8bb98559b006a73bf4.tar.xz |
ath: make gcc check format arguments of ath_print(), fix all misuses
Numeric channel is hard to get, so it won't be printed. Replace Mhz
with MHz on the affected lines and add commas as needed.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 40b5d05edcce..1ca42e5148c8 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -429,7 +429,7 @@ static void ath_rx_ps(struct ath_softc *sc, struct sk_buff *skb) sc->ps_flags &= ~PS_WAIT_FOR_PSPOLL_DATA; ath_print(common, ATH_DBG_PS, "Going back to sleep after having received " - "PS-Poll data (0x%x)\n", + "PS-Poll data (0x%lx)\n", sc->ps_flags & (PS_WAIT_FOR_BEACON | PS_WAIT_FOR_CAB | PS_WAIT_FOR_PSPOLL_DATA | |