diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-06-04 22:23:36 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-04 22:28:23 +0200 |
commit | 9b881963c1c81f965f89a3e89b1aa5557f67ee30 (patch) | |
tree | 6a0b36057cc217b138fb9fc27155ae193729972a /net/wireless/sme.c | |
parent | cfg80211: fix potential deadlock regression (diff) | |
download | linux-9b881963c1c81f965f89a3e89b1aa5557f67ee30.tar.xz linux-9b881963c1c81f965f89a3e89b1aa5557f67ee30.zip |
cfg80211: make wiphy index start at 0 again
The change to use atomic_inc_return() for assigning the wiphy
index made the first wiphy index 1 instead of 0. This is fine,
but we all habitually type "phy0" when we're testing, so make
it go back to 0 instead of 1 by subtracting 1 from the index.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/sme.c')
0 files changed, 0 insertions, 0 deletions