Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
}
}
-
wlan_tx_ampdu_reset(i);
for_each_desc(desc, &fw.wlan.tx_retry)
*
* "A physical WakeOnLAN (Magic Packet) will look like this:
* ---------------------------------------------------------------
- * | Synchronization Stream | Target MAC | Password (optional) |
- * | 6 octets | 96 octets | 0, 4 or 6 |
+ * | Synchronization Stream | Target MAC | Password (optional) |
+ * | 6 octets | 96 octets | 0, 4 or 6 |
* ---------------------------------------------------------------
*
* The Synchronization Stream is defined as 6 bytes of FFh.
int carlu_cmd_write_mem(struct carlu *ar, const uint32_t addr,
const uint32_t val);
int carlu_cmd_mem_watch(struct carlu *ar, const uint32_t mem,
- const unsigned int len, void *_buf);
+ const unsigned int len, void *_buf);
struct carl9170_cmd *carlu_cmd_buf(struct carlu *ar,
const enum carl9170_cmd_oids cmd, const unsigned int len);
#define CHK(cmd) \
do { \
- int __err; \
- if ((__err = cmd)) \
+ int __err = cmd; \
+ if ((__err)) \
return __err; \
} while (0)