wireless: gelic: make use of WLAN_EID_VENDOR_SPECIFIC
authorArend van Spriel <arend@broadcom.com>
Fri, 12 Oct 2012 10:28:15 +0000 (12:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Oct 2012 07:01:55 +0000 (09:01 +0200)
commitc46597f1dea200dfd0b7ace5d1efe816fb41c6ee
tree3a312a579bf2747b58efa405c312fbe4ba9397ca
parent04b2312a683537eec3dbac013920b0e3cfc06123
wireless: gelic: make use of WLAN_EID_VENDOR_SPECIFIC

The include file linux/ieee80211.h contains three definitions for
the same thing in enum ieee80211_eid due to historic changes:

    /* Information Element IDs */
    enum ieee80211_eid {
        :
        WLAN_EID_WPA = 221,
        WLAN_EID_GENERIC = 221,
        WLAN_EID_VENDOR_SPECIFIC = 221,
        :
    };

The standard refers to this as "vendor specific" element so the
other two definitions are better not used. This patch changes the
wireless drivers to use one definition, ie. WLAN_EID_VENDOR_SPECIFIC.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/ethernet/toshiba/ps3_gelic_wireless.c