Last Comment Bug 718001 - Wifi: Automatically run dhcp when we connect to a network
: Wifi: Automatically run dhcp when we connect to a network
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: x86_64 Linux
: -- normal (vote)
: mozilla12
Assigned To: Blake Kaplan (:mrbkap) (please use needinfo!)
Depends on:
Blocks: b2g-wifi
  Show dependency treegraph
Reported: 2012-01-13 11:07 PST by Blake Kaplan (:mrbkap) (please use needinfo!)
Modified: 2012-01-16 19:43 PST (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch (4.92 KB, patch)
2012-01-13 11:07 PST, Blake Kaplan (:mrbkap) (please use needinfo!)
gal: review+
mrbkap: checkin+
Details | Diff | Review

Description Blake Kaplan (:mrbkap) (please use needinfo!) 2012-01-13 11:07:41 PST
Created attachment 588471 [details] [diff] [review]

Right now, nsWifiWorker.js only runs DHCP as part of a chain of calls when we enable a network. Instead of doing that, we should try to run DHCP when wpa_supplicant tells us that it connected to a network. That way, networks that were joined automatically should get dhcp/dns love.
Comment 1 Andreas Gal :gal 2012-01-13 11:29:38 PST
Comment on attachment 588471 [details] [diff] [review]

Pure awesomeness. Why the _ on onconnected?
Comment 2 Blake Kaplan (:mrbkap) (please use needinfo!) 2012-01-16 08:01:25 PST
Comment on attachment 588471 [details] [diff] [review]
Patch (without the _)
Comment 3 Justin Wood (:Callek) 2012-01-16 19:43:57 PST

Note You need to log in before you can comment on or make changes to this bug.