projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170: fix CONFIG_CARL9170FW_DEBUG && !CONFIG_CARL9170FW_RADIO_FUNC
[carl9170fw.git]
/
carlfw
/
src
/
wlantx.c
diff --git
a/carlfw/src/wlantx.c
b/carlfw/src/wlantx.c
index 9f2f51b07ba54794010b3ce1a5a7654a6402a041..801086636c861749829d426553848ebc53e9a841 100644
(file)
--- a/
carlfw/src/wlantx.c
+++ b/
carlfw/src/wlantx.c
@@
-258,9
+258,9
@@
static void __wlan_tx(struct dma_desc *desc)
wlan_tx_ampdu(super);
wlan_tx_ampdu(super);
-#if
def CONFIG_CARL9170FW_DEBUG
+#if
(defined CONFIG_CARL9170FW_DEBUG) && (defined CONFIG_CARL9170FW_RADIO_FUNCTIONS)
BUG_ON(fw.phy.psm.state != CARL9170_PSM_WAKE);
BUG_ON(fw.phy.psm.state != CARL9170_PSM_WAKE);
-#endif /* CONFIG_CARL9170FW_DEBUG */
+#endif /* CONFIG_CARL9170FW_DEBUG
&& CONFIG_CARL9170FW_RADIO_FUNCTIONS
*/
/* insert desc into the right queue */
dma_put(&fw.wlan.tx_queue[super->s.queue], desc);
/* insert desc into the right queue */
dma_put(&fw.wlan.tx_queue[super->s.queue], desc);