summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/orinoco/main.h
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2010-04-19 11:16:22 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-20 00:41:42 +0400
commit69c264de2ada18bd9da6c9f582a8babd3dcf5f18 (patch)
tree496b1e5bdae3dad863e2d0ef64b972769845c4d7 /drivers/net/wireless/orinoco/main.h
parentc3d415030c1a00cc21935c38f8761db46ef1d7ff (diff)
downloadlinux-69c264de2ada18bd9da6c9f582a8babd3dcf5f18.tar.xz
orinoco: use cfg80211_find_ie
Instead of using a local function. Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/main.h')
-rw-r--r--drivers/net/wireless/orinoco/main.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/orinoco/main.h b/drivers/net/wireless/orinoco/main.h
index 21ab36cd76c7..4dadf9880a97 100644
--- a/drivers/net/wireless/orinoco/main.h
+++ b/drivers/net/wireless/orinoco/main.h
@@ -33,18 +33,6 @@ int orinoco_commit(struct orinoco_private *priv);
void orinoco_reset(struct work_struct *work);
/* Information element helpers - find a home for these... */
-static inline u8 *orinoco_get_ie(u8 *data, size_t len,
- enum ieee80211_eid eid)
-{
- u8 *p = data;
- while ((p + 2) < (data + len)) {
- if (p[0] == eid)
- return p;
- p += p[1] + 2;
- }
- return NULL;
-}
-
#define WPA_OUI_TYPE "\x00\x50\xF2\x01"
#define WPA_SELECTOR_LEN 4
static inline u8 *orinoco_get_wpa_ie(u8 *data, size_t len)