|
@@ -2367,8 +2367,7 @@ int get_dsx_sf_data_to_application(PMINI_ADAPTER Adapter, UINT uiSFId, void __us
|
|
|
struct _packet_info *psSfInfo=NULL;
|
|
|
BCM_DEBUG_PRINT( Adapter,DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, "status =%d",status);
|
|
|
status = SearchSfid(Adapter, uiSFId);
|
|
|
- if(status>NO_OF_QUEUES)
|
|
|
- {
|
|
|
+ if (status >= NO_OF_QUEUES) {
|
|
|
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, "SFID %d not present in queue !!!", uiSFId );
|
|
|
return -EINVAL;
|
|
|
}
|