diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-03-28 02:25:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-01 17:13:17 -0400 |
commit | 0675abdbfbcb8e0253a970c0dfe8d23b112888f3 (patch) | |
tree | 509f32c9d1dcc9dd149ea89fad1678f3f398fa60 | |
parent | 3480a58a90cd505578b9979d878a5ad9c347d424 (diff) |
net/mac80211/debugfs_netdev.c: use of bool triggers a gcc bug
This bool causes my gcc-4.1.0 alpha cross compiler to go into an infinite
loop. Switching it to u8 works around that.
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 107b0fe778d6..0e921aef8ecf 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -222,7 +222,7 @@ IEEE80211_IF_WFILE(dot11MeshConfirmTimeout, | |||
222 | IEEE80211_IF_WFILE(dot11MeshHoldingTimeout, | 222 | IEEE80211_IF_WFILE(dot11MeshHoldingTimeout, |
223 | u.sta.mshcfg.dot11MeshHoldingTimeout, DEC, u16); | 223 | u.sta.mshcfg.dot11MeshHoldingTimeout, DEC, u16); |
224 | IEEE80211_IF_WFILE(dot11MeshTTL, u.sta.mshcfg.dot11MeshTTL, DEC, u8); | 224 | IEEE80211_IF_WFILE(dot11MeshTTL, u.sta.mshcfg.dot11MeshTTL, DEC, u8); |
225 | IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, bool); | 225 | IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, u8); |
226 | IEEE80211_IF_WFILE(dot11MeshMaxPeerLinks, | 226 | IEEE80211_IF_WFILE(dot11MeshMaxPeerLinks, |
227 | u.sta.mshcfg.dot11MeshMaxPeerLinks, DEC, u16); | 227 | u.sta.mshcfg.dot11MeshMaxPeerLinks, DEC, u16); |
228 | IEEE80211_IF_WFILE(dot11MeshHWMPactivePathTimeout, | 228 | IEEE80211_IF_WFILE(dot11MeshHWMPactivePathTimeout, |