if (err_ret) {
sd_err(("%s: %s FAILED %p[%d], addr=0x%05x, pkt_len=%d,"
- "ERR=0x%08x\n", __func__, (write) ? "TX":"RX",
+ "ERR=0x%08x\n", __func__,
+ (write) ? "TX" : "RX",
pnext, SGCount, addr, pkt_len, err_ret));
} else {
sd_trace(("%s: %s xfr'd %p[%d], addr=0x%05x, len=%d\n",
/* EXAMPLE code */
{
struct ether_addr ea_example = {
- {0x00, 0x11, 0x22, 0x33, 0x44, 0xFF}};
+ {0x00, 0x11, 0x22, 0x33, 0x44, 0xFF} };
bcopy((char *)&ea_example, buf, sizeof(struct ether_addr));
}
#endif /* EXAMPLE_GET_MAC */
else
bus->dhd->rx_ctlerrs++;
- return rxlen ? (int)rxlen:-ETIMEDOUT;
+ return rxlen ? (int)rxlen : -ETIMEDOUT;
}
/* IOVar table */
}
/* Validate check bytes */
- if ((uint16) ~ (len ^ check)) {
+ if ((uint16) ~(len ^ check)) {
DHD_ERROR(("%s: HW hdr err: len/check 0x%04x/0x%04x\n",
__func__, len, check));
bus->rx_badhdr++;
conf->rts_threshold = (uint32)-1;
conf->retry_short = (uint32)-1;
conf->retry_long = (uint32)-1;
- conf->tx_power =-1;
+ conf->tx_power = -1;
}
static void wl_init_prof(struct wl_profile *prof)