projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0380bf
)
madwifi: fix compiler warning
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 11 Aug 2009 02:14:33 +0000
(
02:14
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 11 Aug 2009 02:14:33 +0000
(
02:14
+0000)
SVN-Revision: 17221
package/madwifi/patches/414-txpower.patch
patch
|
blob
|
history
diff --git
a/package/madwifi/patches/414-txpower.patch
b/package/madwifi/patches/414-txpower.patch
index 662afe7d93c971850c5a975e198ce82927309a3d..86973229c8052c12e43ead4438b55fc4a2d36610 100644
(file)
--- a/
package/madwifi/patches/414-txpower.patch
+++ b/
package/madwifi/patches/414-txpower.patch
@@
-12,7
+12,7
@@
KASSERT(c->ic_ieee < IEEE80211_CHAN_MAX,
("channel with bogus ieee number %u", c->ic_ieee));
setbit(ic->ic_chan_avail, c->ic_ieee);
-+ ic->ic_max_txpower = max(ic->ic_max_txpower, (u16)
c->ic_maxpower * 2
);
++ ic->ic_max_txpower = max(ic->ic_max_txpower, (u16)
(c->ic_maxpower * 2)
);
if (c->ic_scanflags & IEEE80211_NOSCAN_DEFAULT)
c->ic_scanflags |= IEEE80211_NOSCAN_SET;