Possible misplaced #endif in wifi middleware...

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Possible misplaced #endif in wifi middleware...

ソリューションへジャンプ
640件の閲覧回数
EdSutter
Senior Contributor II

I'm working with IMXRT1170EVKB and SDK_25_03_00 and stumbled on this.

Referring to function wifi_core_task() in middleware/wifi_nxp/wifidriver/wifi.c...

At line 1914 the code is...

#if defined(RW610)
        (void)wifi_imu_lock();
#else
        /* Protect the SDIO from other parallel activities */
        (void)wifi_sdio_lock();

        (void)wlan_process_int_status(mlan_adap);
#endif

#if defined(RW610)
        wifi_imu_unlock();
#else
        wifi_sdio_unlock();
#endif

 I admit that I am still learning this driver, but it sure seems like the top #endif is mistakenly commenting out the call to wlan_process_int_status if RW610 is defined.  Note that if RW610 is defined, then the code is simply...

        (void)wifi_imu_lock();
        wifi_imu_unlock();

which seems a bit suspicious.

0 件の賞賛
返信
1 解決策
588件の閲覧回数
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

Thank you for confirming this is not affecting. I still will notify the corresponding team.

 

Regards,

Daniel.

元の投稿で解決策を見る

3 返答(返信)
622件の閲覧回数
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

Thank you for your post.

By any chance, did you find any problem with this implementation?

 

Regards,

Daniel.

0 件の賞賛
返信
609件の閲覧回数
EdSutter
Senior Contributor II
I did not (my configuration does not have the RW610 defined); this is strictly an observation.
0 件の賞賛
返信
589件の閲覧回数
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

Thank you for confirming this is not affecting. I still will notify the corresponding team.

 

Regards,

Daniel.