Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
tssi_type =
CHSPEC_IS5G(pi->radio_chanspec) ?
- (uint8) NPHY_RSSI_SEL_TSSI_5G : (uint8) NPHY_RSSI_SEL_TSSI_2G;
+ (uint8)NPHY_RSSI_SEL_TSSI_5G:(uint8)NPHY_RSSI_SEL_TSSI_2G;
wlc_phy_poll_rssi_nphy(pi, tssi_type, rssi_buf, num_samps);
/* default key */
#define WSEC_BSS_DEFAULT_KEY(bsscfg) (((bsscfg)->wsec_index == -1) ? \
- (struct wsec_key *)NULL : (bsscfg)->bss_def_keys[(bsscfg)->wsec_index])
+ (struct wsec_key *)NULL:(bsscfg)->bss_def_keys[(bsscfg)->wsec_index])
/* Macros for key management in IBSS mode */
#define WSEC_IBSS_MAX_PEERS 16 /* Max # of IBSS Peers */
ASSERT(!(wlc->pub->hw_off && wlc->pub->up));
/* default argument is generic integer */
- pval = arg ? (int *)arg : NULL;
+ pval = arg ? (int *)arg:NULL;
/* This will prevent the misaligned access */
if (pval && (uint32) len >= sizeof(val))