diff options
Diffstat (limited to '70-1-fix-channel-negative-1.patch')
-rw-r--r-- | 70-1-fix-channel-negative-1.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/70-1-fix-channel-negative-1.patch b/70-1-fix-channel-negative-1.patch new file mode 100644 index 000000000000..ad5b815b87b9 --- /dev/null +++ b/70-1-fix-channel-negative-1.patch @@ -0,0 +1,14 @@ +--- a/net/mac80211/cfg.c ++++ b/net/mac80211/cfg.c +@@ -3904,9 +3905,9 @@ static int ieee80211_cfg_get_channel + if (chanctx_conf) { + *chandef = chanctx_conf->def; + ret = 0; +- } else if (local->open_count > 0 && ++ } else /*if (local->open_count > 0 && + local->open_count == local->monitors && +- sdata->vif.type == NL80211_IFTYPE_MONITOR) { ++ sdata->vif.type == NL80211_IFTYPE_MONITOR)*/ { + if (local->use_chanctx) + *chandef = local->monitor_chandef; + else |