Changeset 35760


Ignore:
Timestamp:
2013-02-23T18:41:58+01:00 (5 years ago)
Author:
nbd
Message:

mac80211: fix monitor-only injection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/300-pending_work.patch

    r35753 r35760  
    159159--- a/net/mac80211/iface.c 
    160160+++ b/net/mac80211/iface.c 
     161@@ -107,7 +107,7 @@ void ieee80211_recalc_idle(struct ieee80 
     162  
     163        lockdep_assert_held(&local->mtx); 
     164  
     165-       active = !list_empty(&local->chanctx_list); 
     166+       active = !list_empty(&local->chanctx_list) || local->monitors; 
     167  
     168        if (!local->ops->remain_on_channel) { 
     169                list_for_each_entry(roc, &local->roc_list, list) { 
    161170@@ -436,7 +436,6 @@ int ieee80211_do_open(struct wireless_de 
    162171        struct ieee80211_sub_if_data *sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); 
Note: See TracChangeset for help on using the changeset viewer.