net: wireless: fix misplaced #endif in net/wireless/nl80211.c
authorYann Soubeyrand <ysoubeyrand@adeneo-embedded.com>
Wed, 18 Jun 2014 12:57:29 +0000 (14:57 +0200)
committerDmitry Shmidt <dimitrysh@google.com>
Fri, 27 Jun 2014 22:26:49 +0000 (15:26 -0700)
commit8d0e99be244a647f8f0dd8741238446088e1c30f
tree391f52a8f73f2b1ac6bb2fd808034ef5133dec4d
parent3c9e49908b882631f3737022e707ffddf0b7c230
net: wireless: fix misplaced #endif in net/wireless/nl80211.c

The patch "nl80211: cumulative vendor command support patch" introduced
compilation error in file net/wireless/nl80211.c. The nl80211_vendor_mcgrp
variable is defined only if the CONFIG_NL80211_TESTMODE preprocessor constant
is defined. However, this variable is later used wether
CONFIG_NL80211_TESTMODE is defined or not. The cause is a misplaced #endif.

Change-Id: I466488285578d57e6554a1f8ebe71d4f3385ecf2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net/wireless/nl80211.c