diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-08 11:34:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-08 11:34:59 -0700 |
commit | 7068c2f13983a39a49981891c47c74efb5fb60c7 (patch) | |
tree | db1b9423b6001fb94dbea1f536765156b27797dd /drivers/staging/brcm80211/include/wlioctl.h | |
parent | c03b63c1987f06590ad944ffe7179444909e0285 (diff) |
Staging: brcm80211: remove broken MIN() implementation
Use the kernel-provided version, this one is broken.
Note, there are more compiler warnings now, that's due to different
types being compared, which shows how the original macro was wrong in at
least one way. They need to be fixed up.
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/include/wlioctl.h')
-rw-r--r-- | drivers/staging/brcm80211/include/wlioctl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/include/wlioctl.h b/drivers/staging/brcm80211/include/wlioctl.h index 66b72765245..b5facdb53d0 100644 --- a/drivers/staging/brcm80211/include/wlioctl.h +++ b/drivers/staging/brcm80211/include/wlioctl.h @@ -1212,7 +1212,7 @@ typedef struct wl_po { u16 mcspo[8]; } wl_po_t; -/* a large TX Power as an init value to factor out of MIN() calculations, +/* a large TX Power as an init value to factor out of min() calculations, * keep low enough to fit in an s8, units are .25 dBm */ #define WLC_TXPWR_MAX (127) /* ~32 dBm = 1,500 mW */ |