diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 02:14:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 02:14:33 +0000 |
commit | dc62db2d7a715155601d451d60bf3ae3586e5578 (patch) | |
tree | cab440d23f4777e4d4297cfb9aaa17d8e6dd3e3f /package | |
parent | cc537168256cd66db9bfd53192f66209806f9ac8 (diff) | |
download | master-187ad058-dc62db2d7a715155601d451d60bf3ae3586e5578.tar.gz master-187ad058-dc62db2d7a715155601d451d60bf3ae3586e5578.tar.bz2 master-187ad058-dc62db2d7a715155601d451d60bf3ae3586e5578.zip |
madwifi: fix compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17221 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/madwifi/patches/414-txpower.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/414-txpower.patch b/package/madwifi/patches/414-txpower.patch index 662afe7d93..86973229c8 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; |