Ticket #1248: removeRegisteringForNetworkName.patch

File removeRegisteringForNetworkName.patch, 640 bytes (added by erin_yueh@…, 11 years ago)

remove Registering for network name

  • src/phone-kit/moko-network.c

     
    264264                   moko_network_get_status (MOKO_NETWORK (listener))); 
    265265     
    266266    if ((priv->registered != GSMD_NETREG_REG_HOME) && 
    267         (priv->registered != GSMD_NETREG_REG_ROAMING)) { 
     267        (priv->registered != GSMD_NETREG_REG_ROAMING) && 
     268        (priv->registered != GSMD_NETREG_UNREG) ) { 
    268269      /* Unset operator name on disconnect */ 
    269270      moko_listener_on_network_name (listener, handle, NULL); 
    270271    }