projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb71b97
)
correct endian conversion of arfcn in tx_ph_dm_ext_req()
author
Harald Welte
<laforge@gnumonks.org>
Thu, 20 May 2010 21:48:19 +0000
(23:48 +0200)
committer
Harald Welte
<laforge@gnumonks.org>
Thu, 20 May 2010 21:48:19 +0000
(23:48 +0200)
src/host/layer23/src/l1ctl.c
patch
|
blob
|
history
diff --git
a/src/host/layer23/src/l1ctl.c
b/src/host/layer23/src/l1ctl.c
index
b2f2eec
..
8731caf
100644
(file)
--- a/
src/host/layer23/src/l1ctl.c
+++ b/
src/host/layer23/src/l1ctl.c
@@
-287,7
+287,7
@@
int tx_ph_dm_est_req(struct osmocom_ms *ms, uint16_t band_arfcn, uint8_t chan_nr
ul->link_id = 0;
ul->tx_power = 0; /* FIXME: initial TX power */
req = (struct l1ctl_dm_est_req *) msgb_put(msg, sizeof(*req));
- req->band_arfcn =
band_arfcn
;
+ req->band_arfcn =
htons(band_arfcn)
;
return osmo_send_l1(ms, msg);
}