/spare/repo/netdev-2.6 branch 'ieee80211'
This commit is contained in:
@@ -265,7 +265,6 @@ struct ieee80211_snap_hdr {
|
|||||||
#define WLAN_AUTH_CHALLENGE_LEN 128
|
#define WLAN_AUTH_CHALLENGE_LEN 128
|
||||||
|
|
||||||
#define WLAN_CAPABILITY_ESS (1<<0)
|
#define WLAN_CAPABILITY_ESS (1<<0)
|
||||||
#define WLAN_CAPABILITY_BSS WLAN_CAPABILITY_ESS
|
|
||||||
#define WLAN_CAPABILITY_IBSS (1<<1)
|
#define WLAN_CAPABILITY_IBSS (1<<1)
|
||||||
#define WLAN_CAPABILITY_CF_POLLABLE (1<<2)
|
#define WLAN_CAPABILITY_CF_POLLABLE (1<<2)
|
||||||
#define WLAN_CAPABILITY_CF_POLL_REQUEST (1<<3)
|
#define WLAN_CAPABILITY_CF_POLL_REQUEST (1<<3)
|
||||||
|
@@ -77,8 +77,8 @@ static inline char *ipw2100_translate_scan(struct ieee80211_device *ieee,
|
|||||||
/* Add mode */
|
/* Add mode */
|
||||||
iwe.cmd = SIOCGIWMODE;
|
iwe.cmd = SIOCGIWMODE;
|
||||||
if (network->capability &
|
if (network->capability &
|
||||||
(WLAN_CAPABILITY_BSS | WLAN_CAPABILITY_IBSS)) {
|
(WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS)) {
|
||||||
if (network->capability & WLAN_CAPABILITY_BSS)
|
if (network->capability & WLAN_CAPABILITY_ESS)
|
||||||
iwe.u.mode = IW_MODE_MASTER;
|
iwe.u.mode = IW_MODE_MASTER;
|
||||||
else
|
else
|
||||||
iwe.u.mode = IW_MODE_ADHOC;
|
iwe.u.mode = IW_MODE_ADHOC;
|
||||||
|
Reference in New Issue
Block a user