Closed Bug 1148725 Opened 10 years ago Closed 8 years ago

[Flame][Wifi]The wifi will be shown as connected for3~4 sec when input a wrong password and tap next then back.

Categories

(Firefox OS Graveyard :: Wifi, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: lulu.tian, Unassigned)

Details

Attachments

(2 files)

Attached file logcat_0836.txt
[1.Description]: [Flame][v2.2 & v3.0][Wifi]When connect a wifi with a wrong password in FTE, tap "Next" button and then back to "Select a network" view, the wifi will be shown as "connected" for about 3~4 sec. Found time:08:36 See attachment:video.MP4 and logcat_0836.txt [2.Testing Steps]: 1. Reset device. 2. Tap "Next" button and go to "Select a network" view. 3. Select a wifi and input a wrong password. 4. Tap "Join" button and then tap "Next" button while wifi is connecting. 5. Tap "Back" button and observe the view. [3.Expected Result]: 5. The Wifi with wrong password should not be connected. [4.Actual Result]: 5. The wifi with wrong password is shown as "connected" for about 3~4 sec. [5.Reproduction build]: Device: Flame 2.2 (affected) Build ID 20150327162502 Gaia Revision 473cd63f53c855299b719285d9b95e3f2910782f Gaia Date 2015-03-27 20:14:43 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/b358619def45 Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150327.194944 Firmware Date Fri Mar 27 19:49:53 EDT 2015 Bootloader L1TC000118D0 Device: Flame 3.0 (affected) Build ID 20150327160203 Gaia Revision 9cc496cecc37d7a29f9279827cdf6e4891211f67 Gaia Date 2015-03-27 13:55:18 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/44e454b5e93b Gecko Version 39.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150327.192632 Firmware Date Fri Mar 27 19:26:42 EDT 2015 Bootloader L1TC000118D0 [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: Free Test
Attached video video.MP4
Flags: needinfo?(gchang)
Hi Vincent, The status shown in FTE is not correct when inputting wrong password. This might need your help to dispatch.
Flags: needinfo?(gchang) → needinfo?(vchang)
Hi EJ, in FTU app, WifiHelper.isConnected()[2] is used to check connection status of wifi. I think we should also check network.status == "connected" to meet the definition of the function. [1] http://mxr.mozilla.org/gaia/source/apps/ftu/js/wifi.js#322 [2] http://mxr.mozilla.org/gaia/source/shared/js/wifi_helper.js#80
Flags: needinfo?(vchang) → needinfo?(ejchen)
Vincent, is there any specific definition of "connected" ? From the code you are referring, It seems that we treated "any network has the same composite key with wifiManager.connection.network" is connected for quite a while. So for there, if our original implementation was wrong, I am not sure what does our original check mean ? Can you help me clarify this part ? And I did see some similar bugs talking about these wording, based on the comment from our code, is there specific attribute from network that Gaia can really trust that "This is network is really connected" instead of doing so many weird check ? Any idea would be helpful, thanks :))
Flags: needinfo?(ejchen) → needinfo?(vchang)
You can check "event.status == connected" when receiving statuschange event.
Flags: needinfo?(vchang)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: