diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-06 22:40:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-07 17:08:06 -0500 |
commit | c658e5db01117bf2a321a9a782754dd5b10e2f15 (patch) | |
tree | a68f935abc84b9af0446fa1979477bd08f429d51 /net/mac80211/mlme.c | |
parent | 22d8d9f81b8b054df2f7f82daffcb71608f411e4 (diff) |
mac80211: fix a compiler warning
net/mac80211/mlme.c: In function 'ieee80211_sta_work':
net/mac80211/mlme.c:1981: warning: too many arguments for format
Introduced by commit 04ac3c0ee2c773c321ec472d892635a20556f34d
("mac80211: speed up AP probing using nullfunc frames").
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 59e2e06aa4e9..45fbb9e33746 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1982,8 +1982,7 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata) | |||
1982 | wiphy_debug(local->hw.wiphy, | 1982 | wiphy_debug(local->hw.wiphy, |
1983 | "%s: No ack for nullfunc frame to" | 1983 | "%s: No ack for nullfunc frame to" |
1984 | " AP %pM, disconnecting.\n", | 1984 | " AP %pM, disconnecting.\n", |
1985 | sdata->name, bssid, | 1985 | sdata->name, bssid); |
1986 | ifmgd->probe_send_count); | ||
1987 | #endif | 1986 | #endif |
1988 | ieee80211_sta_connection_lost(sdata, bssid); | 1987 | ieee80211_sta_connection_lost(sdata, bssid); |
1989 | } | 1988 | } |