cfg80211: move break statement to correct place
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 1 Jul 2009 19:26:45 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:48 +0000 (15:01 -0400)
commit2a783c136b4f280d9863170bd6703d25bdb4746c
tree9cc7daeccd5008b292b138f863fd78b32b040c12
parent898324025fc12132d3ed98f8baf4fb3fa45327e0
cfg80211: move break statement to correct place

Move a break statement to the correct place _after_ the
#endif, otherwise w/o WIRELESS_EXT things break badly.
Also, while touching this code, do a cleanup and assign
dev->ieee80211_ptr to a new variable.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c