Commit 35028fe1 authored by Gavin O'Leary's avatar Gavin O'Leary Committed by Greg Kroah-Hartman

staging: wlan-ng: Fixed more comments

Fixed more comment issues
Signed-off-by: default avatarGavin O'Leary <gavinoleary3@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4f9de774
...@@ -239,7 +239,9 @@ static int prism2_del_key(struct wiphy *wiphy, struct net_device *dev, ...@@ -239,7 +239,9 @@ static int prism2_del_key(struct wiphy *wiphy, struct net_device *dev,
int result = 0; int result = 0;
/* There is no direct way in the hardware (AFAIK) of removing /* 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 */ /* send key to driver */
switch (key_index) { switch (key_index) {
case 0: case 0:
...@@ -561,8 +563,9 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev, ...@@ -561,8 +563,9 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
} }
/* Assume we should set privacy invoked and exclude unencrypted /* Assume we should set privacy invoked and exclude unencrypted
We could possibly use sme->privacy here, but the assumption * We could possible use sme->privacy here, but the assumption
seems reasonable anyway */ * seems reasonable anyways
*/
result = prism2_domibset_uint32(wlandev, result = prism2_domibset_uint32(wlandev,
DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked, DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked,
P80211ENUM_truth_true); P80211ENUM_truth_true);
...@@ -577,7 +580,8 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev, ...@@ -577,7 +580,8 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
} else { } else {
/* Assume we should unset privacy invoked /* Assume we should unset privacy invoked
and exclude unencrypted */ * and exclude unencrypted
*/
result = prism2_domibset_uint32(wlandev, result = prism2_domibset_uint32(wlandev,
DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked, DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked,
P80211ENUM_truth_false); P80211ENUM_truth_false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment