Revert "trf6151: Fix setting of uplink ARFCN"

This reverts commit 1724003737.

For some reason the "obviously broken" code is working, but the fixed
version is not.  Let's go back to step 1 and analyze this in more
detail, but meanwhile make the code work again.
This commit is contained in:
Harald Welte 2017-01-15 20:05:39 +01:00
parent a1830440fc
commit b29c24bcb7
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ void trf6151_set_arfcn(uint16_t arfcn, int tx)
enum trf6151_gsm_band pll_band;
uplink = !!(arfcn & ARFCN_UPLINK);
arfcn |= ~ARFCN_UPLINK;
arfcn != ~ARFCN_UPLINK;
switch (gsm_arfcn2band(arfcn)) {
case GSM_BAND_850: