dect
/
linux-2.6
Archived
13
0
Fork 0

Staging: wlan-ng: fix coding style issues in prism2mgmt.c

This is a patch to prism2mgmt.c that fixes coding style issues found by
checkpatch.pl. Three instances of the 80 char line limit being exceeded
have been kept as is so that string literals are not split up.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Johan Meiring 2010-11-06 18:23:44 +02:00 committed by Greg Kroah-Hartman
parent c5de2157b8
commit f83dfd0658
1 changed files with 14 additions and 12 deletions

View File

@ -416,7 +416,8 @@ int prism2mgmt_scan_results(wlandevice_t *wlandev, void *msgp)
#define REQBASICRATE(N) \
if ((count >= N) && DOT11_RATE5_ISBASIC_GET(item->supprates[(N)-1])) { \
req->basicrate ## N .data = item->supprates[(N)-1]; \
req->basicrate ## N .status = P80211ENUM_msgitem_status_data_ok; \
req->basicrate ## N .status = \
P80211ENUM_msgitem_status_data_ok; \
}
REQBASICRATE(1);
@ -431,7 +432,8 @@ int prism2mgmt_scan_results(wlandevice_t *wlandev, void *msgp)
#define REQSUPPRATE(N) \
if (count >= N) { \
req->supprate ## N .data = item->supprates[(N)-1]; \
req->supprate ## N .status = P80211ENUM_msgitem_status_data_ok; \
req->supprate ## N .status = \
P80211ENUM_msgitem_status_data_ok; \
}
REQSUPPRATE(1);