n900: fix set online

Invalid MTC_STATE_REQ messages were sent, causing failures in going
online.
This commit is contained in:
Kai Vehmanen 2011-01-27 12:51:32 +02:00 committed by Aki Niemi
parent 9306837053
commit f6f0f4d121
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ static void n900_set_online(struct ofono_modem *modem,
struct isi_cb_data *cbd = isi_cb_data_new(modem, cb, data);
const uint8_t req[] = {
MTC_STATE_REQ,
online ? MTC_NORMAL : MTC_RF_INACTIVE,
online ? MTC_NORMAL : MTC_RF_INACTIVE, 0
};
DBG("(%p) with %s", modem, isi->ifname);