@@ -105,8 +105,9 @@ void drv_remove_interface(struct ieee80211_local *local,
{
might_sleep();
- if (!check_sdata_in_driver(sdata))
- return;
+ if (!check_sdata_in_driver(sdata)) {
+ pr_err("drv-remove-interface, sdata-not-in-driver, but will continue in hopes it cleans something up.\n");
+ }
trace_drv_remove_interface(local, sdata);
local->ops->remove_interface(&local->hw, &sdata->vif);
@@ -513,8 +513,9 @@ static inline void drv_sta_pre_rcu_remove(struct ieee80211_local *local,
might_sleep();
sdata = get_bss_sdata(sdata);
- if (!check_sdata_in_driver(sdata))
- return;
+ if (!check_sdata_in_driver(sdata)) {
+ pr_err("drv-sta-pre-rcu-remove, sdata-not-in-driver, but will continue in hopes it cleans something up.\n");
+ }
trace_drv_sta_pre_rcu_remove(local, sdata, &sta->sta);
if (local->ops->sta_pre_rcu_remove)
@@ -632,8 +633,9 @@ static inline void drv_flush(struct ieee80211_local *local,
might_sleep();
- if (sdata && !check_sdata_in_driver(sdata))
- return;
+ if (sdata && !check_sdata_in_driver(sdata)) {
+ pr_err("drv_flush, sdata-not-in-driver, but will continue in hopes it cleans something up.\n");
+ }
trace_drv_flush(local, queues[0], drop);
/* NOTE: Only ath10k might want more queues than fits in 32-bits,
@@ -870,8 +872,10 @@ drv_mgd_protect_tdls_discover(struct ieee80211_local *local,
{
might_sleep();
- if (!check_sdata_in_driver(sdata))
+ if (!check_sdata_in_driver(sdata)) {
+ pr_err("drv-unassing-vif-chantx, sdata-not-in-driver, but will continue in hopes it cleans something up.\n");
return;
+ }
WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION);
trace_drv_mgd_protect_tdls_discover(local, sdata);