[edk2] [Patch 1/3] NetworkPkg: Update Api from NetLibDetectMedia to NetLibDetectMediaWaitTimeout.

2017-12-12 Thread fanwang2
Since new Api NetLibDetectMediaWaitTimeout was involved to support connecting state handling, and it is forward compatible. So apply this Api in Network. Cc: Ye Ting Cc: Fu Siyuan Cc: Wu Jiaxin Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wang Fan --- NetworkPkg/DnsD

Re: [edk2] [Patch 1/3] NetworkPkg: Update Api from NetLibDetectMedia to NetLibDetectMediaWaitTimeout.

2017-12-12 Thread Fu, Siyuan
Hi, Fan We'd better to define a macro for the timeout, instead of using 20 in each place. BestRegards Fu Siyuan > -Original Message- > From: Wang, Fan > Sent: Tuesday, December 12, 2017 4:54 PM > To: edk2-devel@lists.01.org > Cc: Ye, Ting ; Fu, Siyuan ; Wu, > Jiaxin ; Wang, Fan > Subj