|
@@ -140,10 +140,8 @@ int be_process_mcc(struct be_adapter *adapter, int *status)
|
|
|
while ((compl = be_mcc_compl_get(adapter))) {
|
|
|
if (compl->flags & CQE_FLAGS_ASYNC_MASK) {
|
|
|
/* Interpret flags as an async trailer */
|
|
|
- BUG_ON(!is_link_state_evt(compl->flags));
|
|
|
-
|
|
|
- /* Interpret compl as a async link evt */
|
|
|
- be_async_link_state_process(adapter,
|
|
|
+ if (is_link_state_evt(compl->flags))
|
|
|
+ be_async_link_state_process(adapter,
|
|
|
(struct be_async_event_link_state *) compl);
|
|
|
} else if (compl->flags & CQE_FLAGS_COMPLETED_MASK) {
|
|
|
*status = be_mcc_compl_process(adapter, compl);
|