summaryrefslogtreecommitdiff
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-08-11 02:14:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-08-11 02:14:33 +0000
commit5335a250267db1ff17b0beeef0f8960144d1d988 (patch)
treea360593b4a8ec153235798bcaea82105d499202a /package/madwifi/patches
parentf0380bfd826b44901938d8c1f5fb9bc34dacf94c (diff)
downloadmtk-20170518-5335a250267db1ff17b0beeef0f8960144d1d988.zip
mtk-20170518-5335a250267db1ff17b0beeef0f8960144d1d988.tar.gz
mtk-20170518-5335a250267db1ff17b0beeef0f8960144d1d988.tar.bz2
madwifi: fix compiler warning
SVN-Revision: 17221
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/414-txpower.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/414-txpower.patch b/package/madwifi/patches/414-txpower.patch
index 662afe7..8697322 100644
--- 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;