Commit bb7e43c0 authored by David Kilroy's avatar David Kilroy Committed by John W. Linville

orinoco: prefer_port3 can be a single bit

This is a boolean value set based on firmware capabilities, so move the
variable to the capabilities section and reduce the structure size.
Signed-off-by: default avatarDavid Kilroy <kilroyd@googlemail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a42dd7ef
...@@ -107,10 +107,10 @@ struct orinoco_private { ...@@ -107,10 +107,10 @@ struct orinoco_private {
unsigned int do_fw_download:1; unsigned int do_fw_download:1;
unsigned int broken_disableport:1; unsigned int broken_disableport:1;
unsigned int broken_monitor:1; unsigned int broken_monitor:1;
unsigned int prefer_port3:1;
/* Configuration paramaters */ /* Configuration paramaters */
enum nl80211_iftype iw_mode; enum nl80211_iftype iw_mode;
int prefer_port3;
u16 encode_alg, wep_restrict, tx_key; u16 encode_alg, wep_restrict, tx_key;
struct orinoco_key keys[ORINOCO_MAX_KEYS]; struct orinoco_key keys[ORINOCO_MAX_KEYS];
int bitratemode; int bitratemode;
......
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