From: Johannes Berg Date: Tue, 4 Jun 2013 20:23:36 +0000 (+0200) Subject: cfg80211: make wiphy index start at 0 again X-Git-Tag: v3.11-rc1~64^2~166^2^2~45^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b881963c1c81f965f89a3e89b1aa5557f67ee30;p=pandora-kernel.git 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 --- Reading git-diff-tree failed