summaryrefslogtreecommitdiff
path: root/ifpps
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps')
0 files changed, 0 insertions, 0 deletions
98b5b09c /net parentb2347a322d1f6f93f1a39fe17ed08628fc959351 (diff)
cfg80211: make rdev assignment clearer in nl80211_testmode_dump()
Avoid assigning rdev to NULL when we already have it and getting it again from the wiphy index, by moving this code to relevant if block. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/nl80211.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c