.. | .. |
---|
228 | 228 | __le16 wordbuf[17]; |
---|
229 | 229 | |
---|
230 | 230 | result = hfa384x_drvr_setconfig16(hw, |
---|
231 | | - HFA384x_RID_CNFROAMINGMODE, |
---|
232 | | - HFA384x_ROAMMODE_HOSTSCAN_HOSTROAM); |
---|
| 231 | + HFA384x_RID_CNFROAMINGMODE, |
---|
| 232 | + HFA384x_ROAMMODE_HOSTSCAN_HOSTROAM); |
---|
233 | 233 | if (result) { |
---|
234 | 234 | netdev_err(wlandev->netdev, |
---|
235 | 235 | "setconfig(ROAMINGMODE) failed. result=%d\n", |
---|
.. | .. |
---|
275 | 275 | } |
---|
276 | 276 | /* ibss options */ |
---|
277 | 277 | result = hfa384x_drvr_setconfig16(hw, |
---|
278 | | - HFA384x_RID_CREATEIBSS, |
---|
279 | | - HFA384x_CREATEIBSS_JOINCREATEIBSS); |
---|
| 278 | + HFA384x_RID_CREATEIBSS, |
---|
| 279 | + HFA384x_CREATEIBSS_JOINCREATEIBSS); |
---|
280 | 280 | if (result) { |
---|
281 | 281 | netdev_err(wlandev->netdev, |
---|
282 | 282 | "Failed to set CREATEIBSS.\n"); |
---|
.. | .. |
---|
1167 | 1167 | if (hw->presniff_port_type != 0) { |
---|
1168 | 1168 | word = hw->presniff_port_type; |
---|
1169 | 1169 | result = hfa384x_drvr_setconfig16(hw, |
---|
1170 | | - HFA384x_RID_CNFPORTTYPE, |
---|
1171 | | - word); |
---|
| 1170 | + HFA384x_RID_CNFPORTTYPE, |
---|
| 1171 | + word); |
---|
1172 | 1172 | if (result) { |
---|
1173 | 1173 | netdev_dbg |
---|
1174 | 1174 | (wlandev->netdev, |
---|
.. | .. |
---|
1209 | 1209 | } |
---|
1210 | 1210 | /* Save the wepflags state */ |
---|
1211 | 1211 | result = hfa384x_drvr_getconfig16(hw, |
---|
1212 | | - HFA384x_RID_CNFWEPFLAGS, |
---|
1213 | | - &hw->presniff_wepflags); |
---|
| 1212 | + HFA384x_RID_CNFWEPFLAGS, |
---|
| 1213 | + &hw->presniff_wepflags); |
---|
1214 | 1214 | if (result) { |
---|
1215 | 1215 | netdev_dbg |
---|
1216 | 1216 | (wlandev->netdev, |
---|
.. | .. |
---|
1259 | 1259 | /* Set the port type to pIbss */ |
---|
1260 | 1260 | word = HFA384x_PORTTYPE_PSUEDOIBSS; |
---|
1261 | 1261 | result = hfa384x_drvr_setconfig16(hw, |
---|
1262 | | - HFA384x_RID_CNFPORTTYPE, |
---|
1263 | | - word); |
---|
| 1262 | + HFA384x_RID_CNFPORTTYPE, |
---|
| 1263 | + word); |
---|
1264 | 1264 | if (result) { |
---|
1265 | 1265 | netdev_dbg |
---|
1266 | 1266 | (wlandev->netdev, |
---|
.. | .. |
---|
1276 | 1276 | HFA384x_WEPFLAGS_DISABLE_RXCRYPT; |
---|
1277 | 1277 | result = |
---|
1278 | 1278 | hfa384x_drvr_setconfig16(hw, |
---|
1279 | | - HFA384x_RID_CNFWEPFLAGS, |
---|
1280 | | - word); |
---|
| 1279 | + HFA384x_RID_CNFWEPFLAGS, |
---|
| 1280 | + word); |
---|
1281 | 1281 | } |
---|
1282 | 1282 | |
---|
1283 | 1283 | if (result) { |
---|