|
@@ -241,7 +241,7 @@ static inline char *translate_scan(struct _adapter *padapter,
|
|
|
/* Add frequency/channel */
|
|
|
iwe.cmd = SIOCGIWFREQ;
|
|
|
{
|
|
|
- /* check legel index */
|
|
|
+ /* check legal index */
|
|
|
u8 dsconfig = pnetwork->network.Configuration.DSConfig;
|
|
|
if (dsconfig >= 1 && dsconfig <= sizeof(
|
|
|
ieee80211_wlan_frequencies) / sizeof(long))
|
|
@@ -809,11 +809,11 @@ static int r871x_wx_set_pmkid(struct net_device *dev,
|
|
|
|
|
|
/*
|
|
|
There are the BSSID information in the bssid.sa_data array.
|
|
|
- If cmd is IW_PMKSA_FLUSH, it means the wpa_suppplicant wants to clear
|
|
|
- all the PMKID information. If cmd is IW_PMKSA_ADD, it means the
|
|
|
- wpa_supplicant wants to add a PMKID/BSSID to driver.
|
|
|
+ If cmd is IW_PMKSA_FLUSH, it means the wpa_supplicant wants to clear
|
|
|
+ all the PMKID information. If cmd is IW_PMKSA_ADD, it means the
|
|
|
+ wpa_supplicant wants to add a PMKID/BSSID to driver.
|
|
|
If cmd is IW_PMKSA_REMOVE, it means the wpa_supplicant wants to
|
|
|
- remove a PMKID/BSSID from driver.
|
|
|
+ remove a PMKID/BSSID from driver.
|
|
|
*/
|
|
|
if (pPMK == NULL)
|
|
|
return -EINVAL;
|
|
@@ -923,7 +923,7 @@ static int r8711_wx_get_range(struct net_device *dev,
|
|
|
range->max_qual.noise = 100;
|
|
|
range->max_qual.updated = 7; /* Updated all three */
|
|
|
range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */
|
|
|
- /* TODO: Find real 'good' to 'bad' threshol value for RSSI */
|
|
|
+ /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
|
|
|
range->avg_qual.level = 20 + -98;
|
|
|
range->avg_qual.noise = 0;
|
|
|
range->avg_qual.updated = 7; /* Updated all three */
|
|
@@ -1070,7 +1070,7 @@ FREE_EXT:
|
|
|
* MAC# of a preferred Access Point.
|
|
|
* Currently, the request comes via Wireless Extensions' SIOCSIWAP ioctl.
|
|
|
*
|
|
|
- * For this operation to succeed, there is no need for the interface to be Up.
|
|
|
+ * For this operation to succeed, there is no need for the interface to be up.
|
|
|
*
|
|
|
*/
|
|
|
static int r8711_wx_set_wap(struct net_device *dev,
|