commit | 4d6c36fa227afc7b76b85ee48e3ef3972fe0ca23 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Apr 03 14:45:54 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Apr 11 16:23:51 2012 -0400 |
tree | 4415934f1ea4b3ab0b2df135510640100437e71c | |
parent | 3a25a8c8b75b430c4f4022918e26fa51d557ecde [diff] |
mac80211: clean up an ieee80211_do_open error path Eliad's comment prompted me to look closer at the error paths in ieee80211_do_open() and I found one that should use the error labels. Also add a comment about the clear_bit since in many error cases the bit hasn't been set. Cc: Eliad Peller <eliad@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>