Skip to content

Commit ad2cb66

Browse files
authored
Fix typo (#47)
1 parent 3630723 commit ad2cb66

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

vwifi.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ static void owl_connect_routine(struct work_struct *w)
585585

586586
mutex_unlock(&ap->lock);
587587

588-
/* STA conneciton part */
588+
/* STA connection part */
589589
cfg80211_connect_result(vif->ndev, ap->bssid, NULL, 0, NULL, 0,
590590
WLAN_STATUS_SUCCESS, GFP_KERNEL);
591591
memcpy(vif->ssid, ap->ssid, ap->ssid_len);
@@ -718,7 +718,7 @@ static int owl_connect(struct wiphy *wiphy,
718718
return 0;
719719
}
720720

721-
/* callback called by the kernel when there is need to "diconnect" from
721+
/* callback called by the kernel when there is need to "disconnect" from
722722
* currently connected network. It initializes disconnect routine through
723723
* work_struct and exits with 0 if everything ok. disconnect routine should
724724
* call cfg80211_disconnected() to inform the kernel that disconnection is
@@ -991,7 +991,7 @@ static int owl_start_ap(struct wiphy *wiphy,
991991
if (settings->ssid == NULL)
992992
return -EINVAL;
993993

994-
/* Seting up AP SSID and BSSID */
994+
/* Setting up AP SSID and BSSID */
995995
vif->ssid_len = settings->ssid_len;
996996
memcpy(vif->ssid, settings->ssid, settings->ssid_len);
997997
memcpy(vif->bssid, vif->ndev->dev_addr, ETH_ALEN);
@@ -1009,7 +1009,7 @@ static int owl_start_ap(struct wiphy *wiphy,
10091009
/* cfg80211 and some upper user-space programs treat IEs as two-part:
10101010
* 1. head: 802.11 beacon frame header + beacon IEs before TIM IE
10111011
* 2. tail: beacon IEs after TIM IE
1012-
* We combine them and store them in vif->beaon_ie.
1012+
* We combine them and store them in vif->beacon_ie.
10131013
*/
10141014
head_ie_len = settings->beacon.head_len - ie_offset;
10151015
tail_ie_len = settings->beacon.tail_len;
@@ -1079,7 +1079,7 @@ static int owl_change_beacon(struct wiphy *wiphy,
10791079
/* cfg80211 and some user-space programs treat IEs as two-part:
10801080
* 1. head: 802.11 beacon frame header + beacon IEs before TIM IE
10811081
* 2. tail: beacon IEs after TIM IE
1082-
* We combine them and store them in vif->beaon_ie.
1082+
* We combine them and store them in vif->beacon_ie.
10831083
*/
10841084
head_ie_len = info->head_len - ie_offset;
10851085
tail_ie_len = info->tail_len;
@@ -1265,7 +1265,7 @@ static struct ieee80211_rate owl_supported_rates_2ghz[] = {
12651265

12661266
/* Describes supported band of 2GHz. */
12671267
static struct ieee80211_supported_band nf_band_2ghz = {
1268-
/* FIXME: add other band capabilities if nedded, such as 40 width */
1268+
/* FIXME: add other band capabilities if needed, such as 40 width */
12691269
.ht_cap.cap = IEEE80211_HT_CAP_SGI_20,
12701270
.ht_cap.ht_supported = false,
12711271

0 commit comments

Comments
 (0)