[if gte mso 9]>

[edk2] [PATCH] MdeModulePkg/ArpDxe: Retrieved SnpMode only after configuring Snp

Subject: [edk2] [PATCH] MdeModulePkg/ArpDxe: Retrieved SnpMode only after configuring Snp

From: "Olivier Martin" <olivier.martin@arm.com>

To: "'Tian, Feng'" <feng.tian@intel.com>

Date: 2013-01-25 21:06:56

Dear MdeModulePkg maintainer,

Please find the attached patch that retrieved SnpMode only after configuring Snp.

 

When Arp driver starts (with ArpDriverBindingStart()), its service will be created

and the Mnp child configured (ArpService->Mnp->Configure() called in ArpCreateService()).

 

It is only at this time the Snp protocol will be initialized (at the end of MnpStart()).

So, a valid SnpMode could not be expected prior to ArpService->Mnp->Configure().

 

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Olivier Martin <olivier.martin@arm.com>

 

Best Regards,

Olivier