File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
drivers/net/wireless/intel/iwlwifi/mvm Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -1130,14 +1130,7 @@ iwl_mvm_wowlan_config(struct iwl_mvm *mvm,
1130
1130
return ret ;
1131
1131
}
1132
1132
1133
- /*
1134
- * This needs to be unlocked due to lock ordering
1135
- * constraints. Since we're in the suspend path
1136
- * that isn't really a problem though.
1137
- */
1138
- mutex_unlock (& mvm -> mutex );
1139
1133
ret = iwl_mvm_wowlan_config_key_params (mvm , vif );
1140
- mutex_lock (& mvm -> mutex );
1141
1134
if (ret )
1142
1135
return ret ;
1143
1136
@@ -2497,7 +2490,7 @@ static bool iwl_mvm_query_wakeup_reasons(struct iwl_mvm *mvm,
2497
2490
struct iwl_wowlan_status_data * status )
2498
2491
{
2499
2492
int i ;
2500
- bool keep ;
2493
+ bool keep = false ;
2501
2494
struct iwl_mvm_sta * mvm_ap_sta ;
2502
2495
2503
2496
if (!status )
@@ -2525,18 +2518,12 @@ static bool iwl_mvm_query_wakeup_reasons(struct iwl_mvm *mvm,
2525
2518
mvm_ap_sta -> tid_data [i ].seq_number >> 4 );
2526
2519
}
2527
2520
2528
- /* now we have all the data we need, unlock to avoid mac80211 issues */
2529
- mutex_unlock (& mvm -> mutex );
2530
-
2531
2521
iwl_mvm_report_wakeup_reasons (mvm , vif , status );
2532
2522
2533
2523
keep = iwl_mvm_setup_connection_keep (mvm , vif , status );
2534
-
2535
- return keep ;
2536
-
2537
2524
out_unlock :
2538
2525
mutex_unlock (& mvm -> mutex );
2539
- return false ;
2526
+ return keep ;
2540
2527
}
2541
2528
2542
2529
#define ND_QUERY_BUF_LEN (sizeof(struct iwl_scan_offload_profile_match) * \
You can’t perform that action at this time.
0 commit comments