nl80211: Fix vendor command handling
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Wed, 18 Mar 2015 17:26:59 +0000 (18:26 +0100)
committerJouni Malinen <j@w1.fi>
Fri, 20 Mar 2015 13:56:59 +0000 (15:56 +0200)
commit5f9c92f8f7063b8e35118b6b4d39d10a46fea20f
tree6e1b4290b339575c1a5160fdb714d409e5740158
parent55e8f0eafcecbcdc79fa328199f12feadb41766f
nl80211: Fix vendor command handling

In wiphy_info_handler(), vendor specific commands were
interpreted as QCA specific without checking for the OUI,
which caused incorrect setting of driver flags with
commands from other vendors. As a result, that could
prevent proper operation (e.g., inability to process CSA).

This patch ensures that QCA vendor specific commands are
checked against QCA OUI before related flags are set.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
src/drivers/driver_nl80211_capa.c