Skip to content

Commit

Permalink
ath10k-ct: Fix hack for openwrt that broke build on LEDE.
Browse files Browse the repository at this point in the history
Add more specific kludge for open-wrt.

Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Jan 19, 2017
1 parent e2fb92f commit 9fc6c4f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ath10k/core.h
Expand Up @@ -66,15 +66,13 @@
#define ATH10K_KEEPALIVE_MAX_UNRESPONSIVE 3900

/* Backports related crap */
#ifdef STANDALONE_CT
#ifndef NUM_NL80211_BANDS
#ifdef STANDALONE_CT_CHAOS_CALMER
/* So, maybe 4.4 era or so... This will give compile warnings,
* but it should work fine.
*/
#define NUM_NL80211_BANDS IEEE80211_NUM_BANDS
#define CT_PRE_NUM_NL80211_BANDS
#endif
#endif


struct ath10k;
Expand Down

0 comments on commit 9fc6c4f

Please sign in to comment.