Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324505
b: refs/heads/master
c: 7f34f41
h: refs/heads/master
i:
  324503: 98e9150
v: v3
  • Loading branch information
Tim Gardner authored and Greg Kroah-Hartman committed Aug 14, 2012
1 parent 28f5a81 commit f486b8e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1deef918ec5f5f17bdf41876a30a67a29a87807b
refs/heads/master: 7f34f412896aa493fd99a8dc745cfd2ec3a55103
9 changes: 5 additions & 4 deletions trunk/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,11 @@ bool init_firmware(struct net_device *dev)
case FW_SOURCE_IMG_FILE:
{
if (pfirmware->firmware_buf_size[init_step] == 0) {
const char *fw_name[3] = { "RTL8192E/boot.img",
"RTL8192E/main.img",
"RTL8192E/data.img"
};
const char *fw_name[3] = {
RTL8192E_BOOT_IMG_FW,
RTL8192E_MAIN_IMG_FW,
RTL8192E_DATA_IMG_FW
};
const struct firmware *fw_entry;
int rc;
rc = request_firmware(&fw_entry,
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) (4*(v/4) - 8)

#define RTL8192E_BOOT_IMG_FW "RTL8192E/boot.img"
#define RTL8192E_MAIN_IMG_FW "RTL8192E/main.img"
#define RTL8192E_DATA_IMG_FW "RTL8192E/data.img"

enum firmware_init_step {
FW_INIT_STEP0_BOOT = 0,
FW_INIT_STEP1_MAIN = 1,
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3125,6 +3125,9 @@ MODULE_DESCRIPTION("Linux driver for Realtek RTL819x WiFi cards");
MODULE_AUTHOR(DRV_COPYRIGHT " " DRV_AUTHOR);
MODULE_VERSION(DRV_VERSION);
MODULE_LICENSE("GPL");
MODULE_FIRMWARE(RTL8192E_BOOT_IMG_FW);
MODULE_FIRMWARE(RTL8192E_MAIN_IMG_FW);
MODULE_FIRMWARE(RTL8192E_DATA_IMG_FW);

module_param(ifname, charp, S_IRUGO|S_IWUSR);
module_param(hwwep, int, S_IRUGO|S_IWUSR);
Expand Down

0 comments on commit f486b8e

Please sign in to comment.