projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3480a58
)
net/mac80211/debugfs_netdev.c: use of bool triggers a gcc bug
author
Andrew Morton
<
[email protected]
>
Fri, 28 Mar 2008 06:25:27 +0000
(23:25 -0700)
committer
John W. Linville
<
[email protected]
>
Tue, 1 Apr 2008 21:13:17 +0000
(17:13 -0400)
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 <
[email protected]
>
Cc: Luis Carlos Cobo <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
net/mac80211/debugfs_netdev.c
patch
|
blob
|
history
diff --git
a/net/mac80211/debugfs_netdev.c
b/net/mac80211/debugfs_netdev.c
index 107b0fe778d650d05333a3cad10b913aa5ec00a3..0e921aef8ecf03e9861e6ff736cfdeb9cbd25d43 100644
(file)
--- a/
net/mac80211/debugfs_netdev.c
+++ b/
net/mac80211/debugfs_netdev.c
@@
-222,7
+222,7
@@
IEEE80211_IF_WFILE(dot11MeshConfirmTimeout,
IEEE80211_IF_WFILE(dot11MeshHoldingTimeout,
u.sta.mshcfg.dot11MeshHoldingTimeout, DEC, u16);
IEEE80211_IF_WFILE(dot11MeshTTL, u.sta.mshcfg.dot11MeshTTL, DEC, u8);
-IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC,
bool
);
+IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC,
u8
);
IEEE80211_IF_WFILE(dot11MeshMaxPeerLinks,
u.sta.mshcfg.dot11MeshMaxPeerLinks, DEC, u16);
IEEE80211_IF_WFILE(dot11MeshHWMPactivePathTimeout,