File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ int drv_add_interface(struct ieee80211_local *local,
77
77
78
78
sdata -> flags |= IEEE80211_SDATA_IN_DRIVER ;
79
79
80
- if (!local -> in_reconfig ) {
80
+ if (!local -> in_reconfig && ! local -> resuming ) {
81
81
drv_vif_add_debugfs (local , sdata );
82
82
/* initially vif is not MLD */
83
83
ieee80211_link_debugfs_drv_add (& sdata -> deflink );
@@ -534,7 +534,7 @@ int drv_change_vif_links(struct ieee80211_local *local,
534
534
if (ret )
535
535
return ret ;
536
536
537
- if (!local -> in_reconfig ) {
537
+ if (!local -> in_reconfig && ! local -> resuming ) {
538
538
for_each_set_bit (link_id , & links_to_add ,
539
539
IEEE80211_MLD_MAX_NUM_LINKS ) {
540
540
link = rcu_access_pointer (sdata -> link [link_id ]);
@@ -590,7 +590,7 @@ int drv_change_sta_links(struct ieee80211_local *local,
590
590
return ret ;
591
591
592
592
/* during reconfig don't add it to debugfs again */
593
- if (local -> in_reconfig )
593
+ if (local -> in_reconfig || local -> resuming )
594
594
return 0 ;
595
595
596
596
for_each_set_bit (link_id , & links_to_add , IEEE80211_MLD_MAX_NUM_LINKS ) {
You can’t perform that action at this time.
0 commit comments