]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/staging/brcm80211/sys/wlc_mac80211.c
Staging: brcm80211: remove broken MIN() implementation
[linux-beck.git] / drivers / staging / brcm80211 / sys / wlc_mac80211.c
index 79863a2be71891183cdb647d63b45cc72386a860..460587cb20a5ec94a939877e1f65c26b4a3acc3a 100644 (file)
@@ -4806,8 +4806,7 @@ wlc_doiovar(void *hdl, const bcm_iovar_t *vi, u32 actionid,
                        bool override;
 
                        /* Remove override bit and clip to max qdbm value */
-                       qdbm =
-                           (u8) MIN((int_val & ~WL_TXPWR_OVERRIDE), 0xff);
+                       qdbm = (u8)min((int_val & ~WL_TXPWR_OVERRIDE), 0xff);
                        /* Extract override setting */
                        override = (int_val & WL_TXPWR_OVERRIDE) ? TRUE : FALSE;
                        err =