diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-06-23 12:51:21 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-24 15:57:32 +0200 |
commit | a33d402610d2d3a422136defe8237f4ddfb69fd9 (patch) | |
tree | c9c023f1193ba54bb21e7603690feae687f4908b /tools | |
parent | wireless: check for dangling wdev->current_bss pointer (diff) | |
download | linux-a33d402610d2d3a422136defe8237f4ddfb69fd9.tar.xz linux-a33d402610d2d3a422136defe8237f4ddfb69fd9.zip |
cfg80211: fix compilation warning for cfg80211_leave_all()
The following compilation issue popped up moving from v3.10-rc1 to
v3.10-rc6 after merging wireless-testing.
net/wireless/sysfs.c:86:13: error: 'cfg80211_leave_all' defined
but not used [-Werror=unused-function]
The function is only called when CONFIG_PM is enabled. Moving the
function under CONFIG_PM as well.
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions