@@ -585,7 +585,7 @@ static void owl_connect_routine(struct work_struct *w)
585
585
586
586
mutex_unlock (& ap -> lock );
587
587
588
- /* STA conneciton part */
588
+ /* STA connection part */
589
589
cfg80211_connect_result (vif -> ndev , ap -> bssid , NULL , 0 , NULL , 0 ,
590
590
WLAN_STATUS_SUCCESS , GFP_KERNEL );
591
591
memcpy (vif -> ssid , ap -> ssid , ap -> ssid_len );
@@ -718,7 +718,7 @@ static int owl_connect(struct wiphy *wiphy,
718
718
return 0 ;
719
719
}
720
720
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
722
722
* currently connected network. It initializes disconnect routine through
723
723
* work_struct and exits with 0 if everything ok. disconnect routine should
724
724
* call cfg80211_disconnected() to inform the kernel that disconnection is
@@ -991,7 +991,7 @@ static int owl_start_ap(struct wiphy *wiphy,
991
991
if (settings -> ssid == NULL )
992
992
return - EINVAL ;
993
993
994
- /* Seting up AP SSID and BSSID */
994
+ /* Setting up AP SSID and BSSID */
995
995
vif -> ssid_len = settings -> ssid_len ;
996
996
memcpy (vif -> ssid , settings -> ssid , settings -> ssid_len );
997
997
memcpy (vif -> bssid , vif -> ndev -> dev_addr , ETH_ALEN );
@@ -1009,7 +1009,7 @@ static int owl_start_ap(struct wiphy *wiphy,
1009
1009
/* cfg80211 and some upper user-space programs treat IEs as two-part:
1010
1010
* 1. head: 802.11 beacon frame header + beacon IEs before TIM IE
1011
1011
* 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 .
1013
1013
*/
1014
1014
head_ie_len = settings -> beacon .head_len - ie_offset ;
1015
1015
tail_ie_len = settings -> beacon .tail_len ;
@@ -1079,7 +1079,7 @@ static int owl_change_beacon(struct wiphy *wiphy,
1079
1079
/* cfg80211 and some user-space programs treat IEs as two-part:
1080
1080
* 1. head: 802.11 beacon frame header + beacon IEs before TIM IE
1081
1081
* 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 .
1083
1083
*/
1084
1084
head_ie_len = info -> head_len - ie_offset ;
1085
1085
tail_ie_len = info -> tail_len ;
@@ -1265,7 +1265,7 @@ static struct ieee80211_rate owl_supported_rates_2ghz[] = {
1265
1265
1266
1266
/* Describes supported band of 2GHz. */
1267
1267
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 */
1269
1269
.ht_cap .cap = IEEE80211_HT_CAP_SGI_20 ,
1270
1270
.ht_cap .ht_supported = false,
1271
1271
0 commit comments