Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352272
b: refs/heads/master
c: 683d41a
h: refs/heads/master
v: v3
  • Loading branch information
Simon Wunderlich authored and Johannes Berg committed Jan 24, 2013
1 parent 9fb510a commit b7af60c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f68d776a04bfcebc426f605c4440ffe38c583a4b
refs/heads/master: 683d41ae6755e6ae297ec09603c229795ab9566e
3 changes: 2 additions & 1 deletion trunk/net/wireless/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,8 @@ int cfg80211_can_use_iftype_chan(struct cfg80211_registered_device *rdev,
case NL80211_IFTYPE_MESH_POINT:
case NL80211_IFTYPE_P2P_GO:
case NL80211_IFTYPE_WDS:
radar_required = !!(chan->flags & IEEE80211_CHAN_RADAR);
radar_required = !!(chan &&
(chan->flags & IEEE80211_CHAN_RADAR));
break;
case NL80211_IFTYPE_P2P_CLIENT:
case NL80211_IFTYPE_STATION:
Expand Down

0 comments on commit b7af60c

Please sign in to comment.