summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorGavin O'Leary <gavinoleary3@gmail.com>2015-11-23 09:23:36 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 19:06:36 -0800
commit35028fe1a604657d41e51f76e5b4eaecc42d551a (patch)
tree480d8874c76ea65c3ce09b0e782af0d8b6ef45ef /drivers/staging/wlan-ng
parent4f9de774a6fea88c1605b58733d7946d9339b0bf (diff)
downloadop-kernel-dev-35028fe1a604657d41e51f76e5b4eaecc42d551a.zip
op-kernel-dev-35028fe1a604657d41e51f76e5b4eaecc42d551a.tar.gz
staging: wlan-ng: Fixed more comments
Fixed more comment issues Signed-off-by: Gavin O'Leary <gavinoleary3@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r--drivers/staging/wlan-ng/cfg80211.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index cdbdcdd..4712da1 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -239,7 +239,9 @@ static int prism2_del_key(struct wiphy *wiphy, struct net_device *dev,
int result = 0;
/* There is no direct way in the hardware (AFAIK) of removing
- a key, so we will cheat by setting the key to a bogus value */
+ * a key, so we will cheat by setting the key to a bogus value
+ */
+
/* send key to driver */
switch (key_index) {
case 0:
@@ -561,8 +563,9 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
}
/* Assume we should set privacy invoked and exclude unencrypted
- We could possibly use sme->privacy here, but the assumption
- seems reasonable anyway */
+ * We could possible use sme->privacy here, but the assumption
+ * seems reasonable anyways
+ */
result = prism2_domibset_uint32(wlandev,
DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked,
P80211ENUM_truth_true);
@@ -577,7 +580,8 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
} else {
/* Assume we should unset privacy invoked
- and exclude unencrypted */
+ * and exclude unencrypted
+ */
result = prism2_domibset_uint32(wlandev,
DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked,
P80211ENUM_truth_false);
OpenPOWER on IntegriCloud