/[gnokii]/gnokii/common/links/atbus.c
ViewVC logotype

Diff of /gnokii/common/links/atbus.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.44 by pkot, Wed Apr 20 20:43:32 2005 UTC revision 1.45 by bozo, Wed Nov 23 18:55:11 2005 UTC
# Line 265  gn_error atbus_initialise(int mode, stru Line 265  gn_error atbus_initialise(int mode, stru
265          AT_BUSINST(state) = businst;          AT_BUSINST(state) = businst;
266    
267          switch (state->config.connection_type) {          switch (state->config.connection_type) {
         case GN_CT_Serial:  
268          case GN_CT_Irda:          case GN_CT_Irda:
269                    if (!strcasecmp(state->config.port_device, "IrDA:IrCOMM")) {
270                            if (!device_open(state->config.port_device, false, false, false, state->config.connection_type, state)) {
271                                    error = GN_ERR_FAILED;
272                                    goto err;
273                            }
274                            break;
275                    }
276                    /* FALLTHROUGH */
277            case GN_CT_Serial:
278          case GN_CT_TCP:          case GN_CT_TCP:
279                  if (!atbus_serial_open(mode, state->config.port_device, state)) {                  if (!atbus_serial_open(mode, state->config.port_device, state)) {
280                          error = GN_ERR_FAILED;                          error = GN_ERR_FAILED;

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26